diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-04-26 18:51:57 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-04-26 18:51:57 +0000 |
commit | a85bf380ba712885f7aba396bf08d86cf2418606 (patch) | |
tree | d839815329c1b7f14ca1216be4ba2e209db9f9e6 /lldb/source | |
parent | 1d4c83508926827ea8e956a62a1af6330505c886 (diff) | |
download | bcm5719-llvm-a85bf380ba712885f7aba396bf08d86cf2418606.tar.gz bcm5719-llvm-a85bf380ba712885f7aba396bf08d86cf2418606.zip |
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.
llvm-svn: 130227
Diffstat (limited to 'lldb/source')
-rw-r--r-- | lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp b/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp index f6c52c0d8be..e4456877aa1 100644 --- a/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp +++ b/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp @@ -12636,6 +12636,8 @@ EmulateInstructionARM::SetArchitecture (const ArchSpec &arch) 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; } |