[Lldb-commits] [PATCH] D67913: [LLDB] [Windows] Map COFF ARM machine ids to the right triplet architectures
Martin Storsjö via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 23 05:29:10 PDT 2019
mstorsjo created this revision.
mstorsjo added reviewers: amccarth, compnerd, hhb, labath, asmith.
Herald added subscribers: JDevlieghere, kristof.beyls.
Herald added a project: LLDB.
Repository:
rLLDB LLDB
https://reviews.llvm.org/D67913
Files:
lldb/source/Host/windows/Host.cpp
Index: lldb/source/Host/windows/Host.cpp
===================================================================
--- lldb/source/Host/windows/Host.cpp
+++ lldb/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.221303.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190923/f925709b/attachment.bin>
More information about the lldb-commits
mailing list