[Lldb-commits] [lldb] r130227 - /lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
Johnny Chen
johnny.chen at apple.com
Tue Apr 26 11:51:57 PDT 2011
Author: johnny
Date: Tue Apr 26 13:51:57 2011
New Revision: 130227
URL: http://llvm.org/viewvc/llvm-project?rev=130227&view=rev
Log:
Modify EmulateInstructionARM::SetArchitecture() to treat "arm" and "thumb" as wild card architectures
for now, in order to fix the test failure for the 'arm_emulation' directory.
There might be a better way.
Modified:
lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
Modified: lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp?rev=130227&r1=130226&r2=130227&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp (original)
+++ lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp Tue Apr 26 13:51:57 2011
@@ -12636,6 +12636,8 @@
else if (0 == ::strcasecmp(arch_cstr, "armv6t2")) m_arm_isa = ARMv6T2;
else if (0 == ::strcasecmp(arch_cstr, "armv7")) m_arm_isa = ARMv7;
else if (0 == ::strcasecmp(arch_cstr, "armv8")) m_arm_isa = ARMv8;
+ else if (0 == ::strcasecmp(arch_cstr, "arm")) m_arm_isa = ARMvAll;
+ else if (0 == ::strcasecmp(arch_cstr, "thumb")) m_arm_isa = ARMvAll;
}
return m_arm_isa != 0;
}
More information about the lldb-commits
mailing list