diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-06 20:45:10 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-06 20:45:10 +0000 |
commit | 8e5271d4629a24a69c4816ae803888e178e82cc2 (patch) | |
tree | 9f8637379d0a601ad8a1367a40a43be859172312 /lib/MC | |
parent | 1525260b3e50cc578939ef41b60609689eecfdd2 (diff) | |
download | external_llvm-8e5271d4629a24a69c4816ae803888e178e82cc2.zip external_llvm-8e5271d4629a24a69c4816ae803888e178e82cc2.tar.gz external_llvm-8e5271d4629a24a69c4816ae803888e178e82cc2.tar.bz2 |
Add accessors for all private members of DisasmContext.
LLVM should be -Wunused-private-field clean now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158103 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/MCDisassembler/Disassembler.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/MC/MCDisassembler/Disassembler.h b/lib/MC/MCDisassembler/Disassembler.h index 880a31a..322abd5 100644 --- a/lib/MC/MCDisassembler/Disassembler.h +++ b/lib/MC/MCDisassembler/Disassembler.h @@ -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(); } |