[Lldb-commits] [lldb] r143774 - /lldb/trunk/source/Host/common/Host.cpp

Peter Collingbourne peter at pcc.me.uk
Fri Nov 4 18:35:32 PDT 2011


Author: pcc
Date: Fri Nov  4 20:35:31 2011
New Revision: 143774

URL: http://llvm.org/viewvc/llvm-project?rev=143774&view=rev
Log:
Update a missed getHostTriple call, fixes non-__APPLE__ build

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

Modified: lldb/trunk/source/Host/common/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Host.cpp?rev=143774&r1=143773&r2=143774&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Host.cpp (original)
+++ lldb/trunk/source/Host/common/Host.cpp Fri Nov  4 20:35:31 2011
@@ -310,7 +310,7 @@
 
     if (g_supports_32 == false && g_supports_64 == false)
     {
-        llvm::Triple triple(llvm::sys::getHostTriple());
+        llvm::Triple triple(llvm::sys::getDefaultTargetTriple());
 
         g_host_arch_32.Clear();
         g_host_arch_64.Clear();





More information about the lldb-commits mailing list