1 //===-------- AMDGPUELFStreamer.cpp - ELF Object Output -------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include "AMDGPUELFStreamer.h"
11 #include "Utils/AMDGPUBaseInfo.h"
12
13 using namespace llvm;
14
createAMDGPUELFStreamer(MCContext & Context,MCAsmBackend & MAB,raw_pwrite_stream & OS,MCCodeEmitter * Emitter,bool RelaxAll)15 MCELFStreamer *llvm::createAMDGPUELFStreamer(MCContext &Context,
16 MCAsmBackend &MAB,
17 raw_pwrite_stream &OS,
18 MCCodeEmitter *Emitter,
19 bool RelaxAll) {
20 return new AMDGPUELFStreamer(Context, MAB, OS, Emitter);
21 }
22