[llvm] r270502 - Tweak to change in r270491 to deal with the lld-x86_64-darwin13 bot having a old xar.h header.

Kevin Enderby via llvm-commits llvm-commits at lists.llvm.org
Mon May 23 15:18:59 PDT 2016


Author: enderby
Date: Mon May 23 17:18:59 2016
New Revision: 270502

URL: http://llvm.org/viewvc/llvm-project?rev=270502&view=rev
Log:
Tweak to change in r270491 to deal with the lld-x86_64-darwin13 bot having a old xar.h header.
Reviewed the change with Chris Bieneman and Pete Cooper.

Modified:
    llvm/trunk/tools/llvm-objdump/MachODump.cpp

Modified: llvm/trunk/tools/llvm-objdump/MachODump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/MachODump.cpp?rev=270502&r1=270501&r2=270502&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/MachODump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/MachODump.cpp Mon May 23 17:18:59 2016
@@ -5873,12 +5873,16 @@ static void DumpBitcodeSection(MachOObje
       case XAR_CKSUM_MD5:
         outs() << "XAR_CKSUM_MD5\n";
         break;
+#ifdef XAR_CKSUM_SHA256
       case XAR_CKSUM_SHA256:
         outs() << "XAR_CKSUM_SHA256\n";
         break;
+#endif
+#ifdef XAR_CKSUM_SHA512
       case XAR_CKSUM_SHA512:
         outs() << "XAR_CKSUM_SHA512\n";
         break;
+#endif
       default:
         outs() << XarHeader.cksum_alg << "\n";
     }




More information about the llvm-commits mailing list