[Lldb-commits] [lldb] r199520 - Undo change to triple behavior from r199510.

Todd Fiala tfiala at google.com
Fri Jan 17 14:21:23 PST 2014


Author: tfiala
Date: Fri Jan 17 16:21:22 2014
New Revision: 199520

URL: http://llvm.org/viewvc/llvm-project?rev=199520&view=rev
Log:
Undo change to triple behavior from r199510.

The Linux distribution will be added to the ArchSpec class in an
upcoming change. This change only undoes the change to the triple. The
distribution retrieval logic and enabling of lldb-gdbserver for linux
x86_64 builds is still in place.

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=199520&r1=199519&r2=199520&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Host.cpp (original)
+++ lldb/trunk/source/Host/common/Host.cpp Fri Jan 17 16:21:22 2014
@@ -368,13 +368,7 @@ Host::GetArchitecture (SystemDefaultArch
         // If the OS is Linux, "unknown" in the vendor slot isn't what we want
         // for the default triple.  It's probably an artifact of config.guess.
         if (triple.getOS() == llvm::Triple::Linux && triple.getVendor() == llvm::Triple::UnknownVendor)
-        {
-            const char *const dist_c_str = GetDistributionId ().AsCString ();
-            if (dist_c_str)
-                triple.setVendorName (dist_c_str);
-            else
-                triple.setVendorName ("");
-        }
+            triple.setVendorName ("");
 
         switch (triple.getArch())
         {





More information about the lldb-commits mailing list