aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-objdump/MCFunction.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-08-08 18:56:44 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-08-08 18:56:44 +0000
commit41ab14b725c8f2bb3e54553d0d7d96ff184786b1 (patch)
tree72f291595c549382084181fd41ac671dbbee62f7 /tools/llvm-objdump/MCFunction.h
parentc13464f3c1148a7096356f34f33932d3e258570e (diff)
Add MCInstrAnalysis class. This allows the targets to specify own versions of MCInstrDescs functions.
- Add overrides for ARM. - Teach llvm-objdump to use this instead of plain MCInstrDesc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-objdump/MCFunction.h')
-rw-r--r--tools/llvm-objdump/MCFunction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-objdump/MCFunction.h b/tools/llvm-objdump/MCFunction.h
index f156e94011..023ca39183 100644
--- a/tools/llvm-objdump/MCFunction.h
+++ b/tools/llvm-objdump/MCFunction.h
@@ -20,7 +20,7 @@
namespace llvm {
class MCDisassembler;
-class MCInstrInfo;
+class MCInstrAnalysis;
class MemoryObject;
class raw_ostream;
@@ -68,7 +68,7 @@ public:
static MCFunction
createFunctionFromMC(StringRef Name, const MCDisassembler *DisAsm,
const MemoryObject &Region, uint64_t Start, uint64_t End,
- const MCInstrInfo *InstrInfo, raw_ostream &DebugOut);
+ const MCInstrAnalysis *Ana, raw_ostream &DebugOut);
typedef MapTy::iterator iterator;
iterator begin() { return Blocks.begin(); }