Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: lib/Target/X86/MCTargetDesc/X86MCNaClAsmStreamer.h

Issue 1181263004: subclassed MCAsmStreamer (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW
« no previous file with comments | « lib/Target/X86/MCTargetDesc/X86MCNaCl.cpp ('k') | lib/Target/X86/MCTargetDesc/X86MCNaClAsmStreamer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698