summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.h
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-05-12 22:25:53 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-05-12 22:25:53 +0000
commit4b95aa4c6fce491e3ffc126cc840a367094f71b9 (patch)
tree40e55e36b7b6b86fbabecad6d8e713977a387f2a /lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.h
parent2ce1630c9261c93d67001c993950ff4aa35bb6b9 (diff)
downloadbcm5719-llvm-4b95aa4c6fce491e3ffc126cc840a367094f71b9.tar.gz
bcm5719-llvm-4b95aa4c6fce491e3ffc126cc840a367094f71b9.zip
Fix the InstructionLLVM::Dump() so that for Triple::arm, PC reads as the address
of the current instruction plus 8. And for Triple::thumb, it is plus 4. rdar://problem/9170971 lldb disassembly's symbol information not correct (off by 2?) llvm-svn: 131256
Diffstat (limited to 'lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.h')
-rw-r--r--lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.h b/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.h
index 953f5f492b1..0d2d920bb70 100644
--- a/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.h
+++ b/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.h
@@ -22,7 +22,7 @@ public:
InstructionLLVM (const lldb_private::Address &addr,
lldb_private::AddressClass addr_class,
EDDisassemblerRef disassembler,
- bool force_raw);
+ llvm::Triple::ArchType arch_type);
virtual
~InstructionLLVM();
@@ -46,7 +46,7 @@ public:
protected:
EDDisassemblerRef m_disassembler;
EDInstRef m_inst;
- bool m_force_raw;
+ llvm::Triple::ArchType m_arch_type;
};
OpenPOWER on IntegriCloud