[PATCH] D67913: [LLDB] [Windows] Map COFF ARM machine ids to the right triplet architectures
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 23 13:42:32 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL372658: [LLDB] [Windows] Map COFF ARM machine ids to the right triple architectures (authored by mstorsjo, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D67913?vs=221303&id=221404#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67913/new/
https://reviews.llvm.org/D67913
Files:
lldb/trunk/source/Host/windows/Host.cpp
Index: lldb/trunk/source/Host/windows/Host.cpp
===================================================================
--- lldb/trunk/source/Host/windows/Host.cpp
+++ lldb/trunk/source/Host/windows/Host.cpp
@@ -56,6 +56,10 @@
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;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67913.221404.patch
Type: text/x-patch
Size: 513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190923/c1916fde/attachment.bin>
More information about the llvm-commits
mailing list