git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362841
91177308-0d34-0410-b5e6-
96231b3b80d8
// Prints trailing space and unknown in this format for compatibility with
// cctools lipo.
const std::string ObjectArch = ObjectFile->getArchTriple().getArchName();
- if (ObjectArch.empty()) {
+ if (ObjectArch.empty())
outs() << "unknown(" << ObjectFile->getHeader().cputype << ","
<< ObjectFile->getHeader().cpusubtype << ") ";
- } else {
+ else
outs() << ObjectArch + " ";
- }
}
LLVM_ATTRIBUTE_NORETURN