Add accessors for all private members of DisasmContext.
LLVM should be -Wunused-private-field clean now. llvm-svn: 158103
This commit is contained in:
parent
05ff4667eb
commit
3f87e3b707
|
@ -99,6 +99,14 @@ public:
|
|||
DisAsm.reset(disAsm);
|
||||
IP.reset(iP);
|
||||
}
|
||||
const std::string &getTripleName() const { return TripleName; }
|
||||
void *getDisInfo() const { return DisInfo; }
|
||||
int getTagType() const { return TagType; }
|
||||
LLVMOpInfoCallback getGetOpInfo() const { return GetOpInfo; }
|
||||
LLVMSymbolLookupCallback getSymbolLookupCallback() const {
|
||||
return SymbolLookUp;
|
||||
}
|
||||
const Target *getTarget() const { return TheTarget; }
|
||||
const MCDisassembler *getDisAsm() const { return DisAsm.get(); }
|
||||
const MCAsmInfo *getAsmInfo() const { return MAI.get(); }
|
||||
MCInstPrinter *getIP() { return IP.get(); }
|
||||
|
|
Loading…
Reference in New Issue