diff options
author | Sean Callanan <scallanan@apple.com> | 2010-02-08 23:34:25 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2010-02-08 23:34:25 +0000 |
commit | 01cd79fe1b89526bdd4d91275eda990dc608791d (patch) | |
tree | b64491a63828a3892a3d4640a8bf86caaaf6371a /tools | |
parent | 3c280fccf9f6ed04ad42c09c24cab81121b52171 (diff) | |
download | external_llvm-01cd79fe1b89526bdd4d91275eda990dc608791d.zip external_llvm-01cd79fe1b89526bdd4d91275eda990dc608791d.tar.gz external_llvm-01cd79fe1b89526bdd4d91275eda990dc608791d.tar.bz2 |
Added header file declarations and .exports entries
for the new APIs offered by the enhanced disassembler
for inspecting operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/edis/EDMain.cpp | 2 | ||||
-rw-r--r-- | tools/edis/EnhancedDisassembly.exports | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/tools/edis/EDMain.cpp b/tools/edis/EDMain.cpp index 1d2a607..3585657 100644 --- a/tools/edis/EDMain.cpp +++ b/tools/edis/EDMain.cpp @@ -221,7 +221,7 @@ int EDRegisterOperandValue(unsigned *value, return 0; } -int EDImmedateOperandValue(uint64_t *value, +int EDImmediateOperandValue(uint64_t *value, EDOperandRef operand) { if(!operand->isImmediate()) return -1; diff --git a/tools/edis/EnhancedDisassembly.exports b/tools/edis/EnhancedDisassembly.exports index 63738e5..d3f8743 100644 --- a/tools/edis/EnhancedDisassembly.exports +++ b/tools/edis/EnhancedDisassembly.exports @@ -25,6 +25,11 @@ _EDLiteralTokenAbsoluteValue _EDRegisterTokenValue _EDNumOperands _EDGetOperand +_EDOperandIsRegister +_EDOperandIsImmediate +_EDOperandIsMemory +_EDRegisterOperandValue +_EDImmediateOperandValue _EDEvaluateOperand _EDBlockCreateInsts _EDBlockEvaluateOperand |