In Host::GetArchitecture() we see this line:

        // 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)
            triple.setVendorName ("");

Can anyone think of a reason why this check should be specific to Linux?
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to