OLD | NEW |
(Empty) | |
| 1 #ifndef LLVM_MC_NACL_ASM_STREAMER_H |
| 2 #define LLVM_MC_NACL_ASM_STREAMER_H |
| 3 |
| 4 #include "llvm/MC/MCStreamer.h" |
| 5 #include "llvm/MC/MCAsmStreamer.h" |
| 6 #include "llvm/ADT/STLExtras.h" |
| 7 #include "llvm/ADT/SmallString.h" |
| 8 #include "llvm/ADT/StringExtras.h" |
| 9 #include "llvm/ADT/Twine.h" |
| 10 #include "llvm/MC/MCAsmBackend.h" |
| 11 #include "llvm/MC/MCAsmInfo.h" |
| 12 #include "llvm/MC/MCCodeEmitter.h" |
| 13 #include "llvm/MC/MCContext.h" |
| 14 #include "llvm/MC/MCExpr.h" |
| 15 #include "llvm/MC/MCFixupKindInfo.h" |
| 16 #include "llvm/MC/MCInst.h" |
| 17 #include "llvm/MC/MCInstPrinter.h" |
| 18 #include "llvm/MC/MCObjectFileInfo.h" |
| 19 #include "llvm/MC/MCRegisterInfo.h" |
| 20 #include "llvm/MC/MCSectionCOFF.h" |
| 21 #include "llvm/MC/MCSectionMachO.h" |
| 22 #include "llvm/MC/MCSymbol.h" |
| 23 #include "llvm/Support/CommandLine.h" |
| 24 #include "llvm/Support/ErrorHandling.h" |
| 25 #include "llvm/Support/Format.h" |
| 26 #include "llvm/Support/FormattedStream.h" |
| 27 #include "llvm/Support/MathExtras.h" |
| 28 #include "llvm/Support/Path.h" |
| 29 |
| 30 #include "X86MCNaCl.h" |
| 31 #include <cctype> |
| 32 using namespace llvm; |
| 33 |
| 34 class X86MCNaClAsmStreamer : public MCAsmStreamer { |
| 35 public: |
| 36 using MCAsmStreamer::MCAsmStreamer; // inherit constructor |
| 37 void EmitInstruction(const MCInst &Inst, const MCSubtargetInfo &STI) override; |
| 38 |
| 39 private: |
| 40 X86MCNaClSFIState State {0, false, false}; |
| 41 }; |
| 42 |
| 43 #endif // header guard |
OLD | NEW |