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