[Lldb-commits] [lldb] r230674 - Use getProcessTriple inside HostInfoBase::ComputeHostArchitectureSupport instead of getDefaultTargetTriple.

Oleksiy Vyalov ovyalov at google.com
Thu Feb 26 12:02:13 PST 2015


Author: ovyalov
Date: Thu Feb 26 14:02:13 2015
New Revision: 230674

URL: http://llvm.org/viewvc/llvm-project?rev=230674&view=rev
Log:
Use getProcessTriple inside HostInfoBase::ComputeHostArchitectureSupport instead of getDefaultTargetTriple.

http://reviews.llvm.org/D7893


Modified:
    lldb/trunk/source/Host/common/HostInfoBase.cpp

Modified: lldb/trunk/source/Host/common/HostInfoBase.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/HostInfoBase.cpp?rev=230674&r1=230673&r2=230674&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/HostInfoBase.cpp (original)
+++ lldb/trunk/source/Host/common/HostInfoBase.cpp Thu Feb 26 14:02:13 2015
@@ -367,7 +367,7 @@ HostInfoBase::ComputeUserPluginsDirector
 void
 HostInfoBase::ComputeHostArchitectureSupport(ArchSpec &arch_32, ArchSpec &arch_64)
 {
-    llvm::Triple triple(llvm::sys::getDefaultTargetTriple());
+    llvm::Triple triple(llvm::sys::getProcessTriple());
 
     arch_32.Clear();
     arch_64.Clear();





More information about the lldb-commits mailing list