diff --git a/llvm/tools/llvm-objdump/llvm-objdump.cpp b/llvm/tools/llvm-objdump/llvm-objdump.cpp index 0c966e266325ae83c1bf5c7f41a11185632c0bb0..fa869cfb9423b1f54e98648e82e4a7235de88cfe 100644 --- a/llvm/tools/llvm-objdump/llvm-objdump.cpp +++ b/llvm/tools/llvm-objdump/llvm-objdump.cpp @@ -76,10 +76,10 @@ namespace { static const Target *GetTarget(const ObjectFile *Obj = NULL) { // Figure out the target triple. llvm::Triple TT("unknown-unknown-unknown"); - if (TripleName.empty()) + if (TripleName.empty()) { if (Obj) TT.setArch(Triple::ArchType(Obj->getArch())); - else + } else TT.setTriple(Triple::normalize(TripleName)); if (!ArchName.empty())