summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitc22d50e5c3756a5e270b71e59bac9b7c3db572d8 (patch)
treead619b069a04c0edad72a9063c34d197545389e4 /llvm/tools/llvm-objdump/MCFunction.h
parent4c0423bc8fd8e1c98a56de9c644300d1e30c9a70 (diff)
downloadbcm5719-llvm-c22d50e5c3756a5e270b71e59bac9b7c3db572d8.tar.gz
bcm5719-llvm-c22d50e5c3756a5e270b71e59bac9b7c3db572d8.zip
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. llvm-svn: 137059
Diffstat (limited to 'llvm/tools/llvm-objdump/MCFunction.h')
-rw-r--r--llvm/tools/llvm-objdump/MCFunction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-objdump/MCFunction.h b/llvm/tools/llvm-objdump/MCFunction.h
index f156e940118..023ca391830 100644
--- a/llvm/tools/llvm-objdump/MCFunction.h
+++ b/llvm/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(); }
OpenPOWER on IntegriCloud