forked from OSchip/llvm-project
Export MCDisassembler's SubtargetInfo, to allow architecture-aware disassembly
llvm-svn: 194260
This commit is contained in:
parent
3b52f0b135
commit
08b2257f14
|
@ -131,6 +131,8 @@ public:
|
|||
void *getDisInfoBlock() const { return DisInfo; }
|
||||
MCContext *getMCContext() const { return Ctx; }
|
||||
|
||||
const MCSubtargetInfo& getSubtargetInfo() const { return STI; }
|
||||
|
||||
// Marked mutable because we cache it inside the disassembler, rather than
|
||||
// having to pass it around as an argument through all the autogenerated code.
|
||||
mutable raw_ostream *CommentStream;
|
||||
|
|
Loading…
Reference in New Issue