[Lldb-commits] [lldb] r372658 - [LLDB] [Windows] Map COFF ARM machine ids to the right triple architectures
Martin Storsjo via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 23 13:43:22 PDT 2019
Author: mstorsjo
Date: Mon Sep 23 13:43:22 2019
New Revision: 372658
URL: http://llvm.org/viewvc/llvm-project?rev=372658&view=rev
Log:
[LLDB] [Windows] Map COFF ARM machine ids to the right triple architectures
Differential Revision: https://reviews.llvm.org/D67913
Modified:
lldb/trunk/source/Host/windows/Host.cpp
Modified: lldb/trunk/source/Host/windows/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/windows/Host.cpp?rev=372658&r1=372657&r2=372658&view=diff
==============================================================================
--- lldb/trunk/source/Host/windows/Host.cpp (original)
+++ lldb/trunk/source/Host/windows/Host.cpp Mon Sep 23 13:43:22 2019
@@ -56,6 +56,10 @@ bool GetTripleForProcess(const FileSpec
triple.setArch(llvm::Triple::x86_64);
else if (machineType == 0x14c)
triple.setArch(llvm::Triple::x86);
+ else if (machineType == 0x1c4)
+ triple.setArch(llvm::Triple::arm);
+ else if (machineType == 0xaa64)
+ triple.setArch(llvm::Triple::aarch64);
return true;
}
More information about the lldb-commits
mailing list