[lldb-dev] Host::GetArchitecture / default target triple question

Zachary Turner zturner at google.com
Tue Aug 19 12:35:00 PDT 2014


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140819/9f824951/attachment.html>


More information about the lldb-dev mailing list