summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2019-09-24 12:20:52 +0000
committerMartin Storsjo <martin@martin.st>2019-09-24 12:20:52 +0000
commit544c8f48c86cee7c8de5ed5dce99849a8ac72118 (patch)
tree06fb2037fd1dc57ce563375daf6a5de45797824b /lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
parent5bb1525392541ea8034b11f54ba0e6dfe2f55548 (diff)
downloadbcm5719-llvm-544c8f48c86cee7c8de5ed5dce99849a8ac72118.tar.gz
bcm5719-llvm-544c8f48c86cee7c8de5ed5dce99849a8ac72118.zip
[LLDB] Add tests for PECOFF arm architecture identification
Add a test case for the change from SVN r372657, and for the preexisting ARM identification. Add a missing ArchDefinitionEntry for PECOFF/arm64, and tweak the ArmNt case to set the architecture to armv7 (ArmNt never ran on anything lower than that). (This avoids a case where ArchSpec::MergeFrom would override the arch from arm to armv7 and ArchSpec::CoreUpdated would reset the OS to unknown at the same time.) Differential Revision: https://reviews.llvm.org/D67951 llvm-svn: 372741
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp')
-rw-r--r--lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
index 5c6102e9c32..16c131fa469 100644
--- a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
+++ b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
@@ -195,7 +195,7 @@ size_t ObjectFilePECOFF::GetModuleSpecifications(
specs.Append(module_spec);
break;
case MachineArmNt:
- spec.SetTriple("arm-pc-windows");
+ spec.SetTriple("armv7-pc-windows");
specs.Append(module_spec);
break;
case MachineArm64:
OpenPOWER on IntegriCloud