From 45dbfa1f83ddcb2ae8b7f0986668e1267bc3b5fe Mon Sep 17 00:00:00 2001 From: Tamas Berghammer Date: Wed, 2 Mar 2016 12:42:43 +0000 Subject: Upgrade the arm/thumb architecture used by the disassembler Previously we were using thumbv7 and armv8.1a what ended up showing a few undefined instruction when disassembling code. This CL update the architectures used to armv8.2a and thumbv8.2a (newest available) so we display all instruction in the disassambly. llvm-svn: 262482 --- lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Plugins/Disassembler/llvm') diff --git a/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp b/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp index d2e1a794644..5bc782c19db 100644 --- a/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp +++ b/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp @@ -633,7 +633,7 @@ DisassemblerLLVMC::DisassemblerLLVMC (const ArchSpec &arch, const char *flavor_s } else { - thumb_arch_name = "thumbv7"; + thumb_arch_name = "thumbv8.2a"; } thumb_arch.GetTriple().setArchName(llvm::StringRef(thumb_arch_name.c_str())); } @@ -643,7 +643,7 @@ DisassemblerLLVMC::DisassemblerLLVMC (const ArchSpec &arch, const char *flavor_s // in case the code uses instructions which are not available in the oldest arm version // (used when no sub architecture is specified) if (triple.getArch() == llvm::Triple::arm && triple.getSubArch() == llvm::Triple::NoSubArch) - triple.setArchName("armv8.1a"); + triple.setArchName("armv8.2a"); const char *triple_str = triple.getTriple().c_str(); -- cgit v1.2.3