[Lldb-commits] [PATCH] D24283: [lldb] Set the correct triple when creating an ArchSpec for windows
walter erquinigo via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 13 13:01:14 PDT 2016
wallace updated this revision to Diff 71226.
wallace updated the summary for this revision.
wallace added a comment.
rebase
https://reviews.llvm.org/D24283
Files:
source/Core/ArchSpec.cpp
Index: source/Core/ArchSpec.cpp
===================================================================
--- source/Core/ArchSpec.cpp
+++ source/Core/ArchSpec.cpp
@@ -1034,6 +1034,9 @@
m_triple.setOS(llvm::Triple::OSType::Solaris);
break;
}
+ } else if(arch_type == eArchTypeCOFF && os == llvm::Triple::Win32) {
+ m_triple.setVendor(llvm::Triple::PC);
+ m_triple.setOS (llvm::Triple::Win32);
} else {
m_triple.setVendor(llvm::Triple::UnknownVendor);
m_triple.setOS(llvm::Triple::UnknownOS);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24283.71226.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160913/11a659db/attachment.bin>
More information about the lldb-commits
mailing list