LLVM  5.0.0
AArch64WinCOFFStreamer.h
Go to the documentation of this file.
1 //===-- AArch64WinCOFFStreamer.h - WinCOFF Streamer for AArch64 -*- C++ -*-===//
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 // This file implements WinCOFF streamer information for the AArch64 backend.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_LIB_TARGET_AARCH64_MCTARGETDESC_AARCH64WINCOFFSTREAMER_H
15 #define LLVM_LIB_TARGET_AARCH64_MCTARGETDESC_AARCH64WINCOFFSTREAMER_H
16 
17 #include "AArch64TargetStreamer.h"
19 
20 namespace {
21 class AArch64WinCOFFStreamer;
22 
23 class AArch64TargetWinCOFFStreamer : public llvm::AArch64TargetStreamer {
24 private:
25  AArch64WinCOFFStreamer &getStreamer();
26 
27 public:
28  AArch64TargetWinCOFFStreamer(llvm::MCStreamer &S)
29  : AArch64TargetStreamer(S) {}
30 };
31 
32 } // end anonymous namespace
33 
34 namespace llvm {
35 
36 MCWinCOFFStreamer
37 *createAArch64WinCOFFStreamer(MCContext &Context, MCAsmBackend &TAB,
38  raw_pwrite_stream &OS,
39  MCCodeEmitter *Emitter, bool RelaxAll,
41 } // end llvm namespace
42 
43 #endif
LLVMContext & Context
MCWinCOFFStreamer * createAArch64WinCOFFStreamer(MCContext &Context, MCAsmBackend &MAB, raw_pwrite_stream &OS, MCCodeEmitter *Emitter, bool RelaxAll, bool IncrementalLinkerCompatible)
Streaming machine code generation interface.
Definition: MCStreamer.h:167
cl::opt< bool > IncrementalLinkerCompatible("incremental-linker-compatible", cl::desc("When used with filetype=obj, ""emit an object file which can be used with an incremental linker"))
MCStreamer & getStreamer()
Definition: MCStreamer.h:86
cl::opt< bool > RelaxAll("mc-relax-all", cl::desc("When used with filetype=obj, ""relax all fixups in the emitted object file"))