28 lines
868 B
C++
28 lines
868 B
C++
|
//===- SystemZGOFFObjectWriter.cpp - SystemZ GOFF writer ------------------===//
|
||
|
//
|
||
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||
|
// See https://llvm.org/LICENSE.txt for license information.
|
||
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
#include "MCTargetDesc/SystemZMCTargetDesc.h"
|
||
|
#include "llvm/MC/MCGOFFObjectWriter.h"
|
||
|
#include <memory>
|
||
|
|
||
|
using namespace llvm;
|
||
|
|
||
|
namespace {
|
||
|
class SystemZGOFFObjectWriter : public MCGOFFObjectTargetWriter {
|
||
|
public:
|
||
|
SystemZGOFFObjectWriter();
|
||
|
};
|
||
|
} // end anonymous namespace
|
||
|
|
||
|
SystemZGOFFObjectWriter::SystemZGOFFObjectWriter()
|
||
|
: MCGOFFObjectTargetWriter() {}
|
||
|
|
||
|
std::unique_ptr<MCObjectTargetWriter> llvm::createSystemZGOFFObjectWriter() {
|
||
|
return std::make_unique<SystemZGOFFObjectWriter>();
|
||
|
}
|