Use getProcessTriple inside HostInfoBase::ComputeHostArchitectureSupport instead...
authorOleksiy Vyalov <ovyalov@google.com>
Thu, 26 Feb 2015 20:02:13 +0000 (20:02 +0000)
committerOleksiy Vyalov <ovyalov@google.com>
Thu, 26 Feb 2015 20:02:13 +0000 (20:02 +0000)
http://reviews.llvm.org/D7893

llvm-svn: 230674

lldb/source/Host/common/HostInfoBase.cpp

index 9816c1e..c322b5b 100644 (file)
@@ -367,7 +367,7 @@ HostInfoBase::ComputeUserPluginsDirectory(FileSpec &file_spec)
 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();