[lldb-dev] PlatformLinux::CreateInstance() and Triple Vendor
Ted Woodward
ted.woodward at codeaurora.org
Thu Mar 26 09:27:10 PDT 2015
PlatformLinux::CreateInstance() has this code, which checks the Vendor in
the Triple:
switch (triple.getVendor())
{
case llvm::Triple::PC:
create = true;
break;
#if defined(__linux__)
// Only accept "unknown" for the vendor if the host is linux and
// it "unknown" wasn't specified (it was just returned because
it
// was NOT specified_
case llvm::Triple::VendorType::UnknownVendor:
create = !arch->TripleVendorWasSpecified();
break;
#endif
default:
break;
}
I don't think the Linux platform should care about the Vendor, just the Core
and OS. What do you guys think?
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a
Linux Foundation Collaborative Project
More information about the lldb-dev
mailing list