]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFStreamer.cpp
MFV r323678: file 5.32
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Target / AMDGPU / MCTargetDesc / AMDGPUELFStreamer.cpp
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
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 }