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.

llvm-svn: 199520
This commit is contained in:
Todd Fiala 2014-01-17 22:21:22 +00:00
parent 24fc2d641f
commit e28f1d7f07
1 changed files with 1 additions and 7 deletions

View File

@ -368,13 +368,7 @@ Host::GetArchitecture (SystemDefaultArchitecture arch_kind)
// 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())
{