diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-01-20 07:22:04 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-01-20 07:22:04 +0000 |
commit | d11699d3c057129d0716fa548c67d1f62837f6b6 (patch) | |
tree | cfeee78e95eea7e1cfe693e89438ddab07d50749 /tools/llvm-objdump | |
parent | db26073c6a00c2077a45e73c5d8c399550402afc (diff) | |
download | external_llvm-d11699d3c057129d0716fa548c67d1f62837f6b6.zip external_llvm-d11699d3c057129d0716fa548c67d1f62837f6b6.tar.gz external_llvm-d11699d3c057129d0716fa548c67d1f62837f6b6.tar.bz2 |
llvm-nm: Fix warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-objdump')
-rw-r--r-- | tools/llvm-objdump/llvm-objdump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-objdump/llvm-objdump.cpp b/tools/llvm-objdump/llvm-objdump.cpp index 0c966e2..fa869cf 100644 --- a/tools/llvm-objdump/llvm-objdump.cpp +++ b/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()) |