xref: /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZGOFFObjectWriter.cpp (revision b64c5a0ace59af62eff52bfe110a521dc73c937b)
1 //===- SystemZGOFFObjectWriter.cpp - SystemZ GOFF writer ------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include "MCTargetDesc/SystemZMCTargetDesc.h"
10 #include "llvm/MC/MCGOFFObjectWriter.h"
11 #include <memory>
12 
13 using namespace llvm;
14 
15 namespace {
16 class SystemZGOFFObjectWriter : public MCGOFFObjectTargetWriter {
17 public:
18   SystemZGOFFObjectWriter();
19 };
20 } // end anonymous namespace
21 
22 SystemZGOFFObjectWriter::SystemZGOFFObjectWriter()
23     : MCGOFFObjectTargetWriter() {}
24 
25 std::unique_ptr<MCObjectTargetWriter> llvm::createSystemZGOFFObjectWriter() {
26   return std::make_unique<SystemZGOFFObjectWriter>();
27 }
28