summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBInstruction.i
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-04-13 00:07:34 +0000
committerGreg Clayton <gclayton@apple.com>2012-04-13 00:07:34 +0000
commitc8e0c244e4efb7ac9831e535380bfa41b22ebfc2 (patch)
tree25d10ecc74bdb83f03a78c09b34c71ffb3454398 /lldb/scripts/Python/interface/SBInstruction.i
parent27db0b37540268ae48c56cb7409bf6bbf713f6b2 (diff)
downloadbcm5719-llvm-c8e0c244e4efb7ac9831e535380bfa41b22ebfc2.tar.gz
bcm5719-llvm-c8e0c244e4efb7ac9831e535380bfa41b22ebfc2.zip
Expose GetAddressClass() from both the SBAddress and SBInstruction so clients can tell the difference between ARM/Thumb opcodes when disassembling ARM.
llvm-svn: 154633
Diffstat (limited to 'lldb/scripts/Python/interface/SBInstruction.i')
-rw-r--r--lldb/scripts/Python/interface/SBInstruction.i5
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBInstruction.i b/lldb/scripts/Python/interface/SBInstruction.i
index 01cebb1590c..3c0d65ef842 100644
--- a/lldb/scripts/Python/interface/SBInstruction.i
+++ b/lldb/scripts/Python/interface/SBInstruction.i
@@ -27,9 +27,12 @@ public:
bool
IsValid();
- SBAddress
+ lldb::SBAddress
GetAddress();
+ lldb::AddressClass
+ GetAddressClass ();
+
const char *
GetMnemonic (lldb::SBTarget target);
OpenPOWER on IntegriCloud