From: George Rimar Date: Wed, 18 Jul 2018 09:25:36 +0000 (+0000) Subject: [llvm-objdump] - An attempt to fix BB after r337361. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c475e370b854997c1e3826434bbafa04655f8f6;p=llvm [llvm-objdump] - An attempt to fix BB after r337361. Seems r337361 is the reason of the following ARM BB failures: http://lab.llvm.org:8011/builders/clang-cmake-armv8-quick http://lab.llvm.org:8011/builders/clang-cmake-armv8-full/builds/4633 Reason is unclear to me, other bots are OK. If this will not help, I'll revert r337361. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337371 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-objdump/llvm-objdump.cpp b/tools/llvm-objdump/llvm-objdump.cpp index 987f565a9b7..4d8a10db0e5 100644 --- a/tools/llvm-objdump/llvm-objdump.cpp +++ b/tools/llvm-objdump/llvm-objdump.cpp @@ -1826,8 +1826,8 @@ void llvm::PrintSectionHeaders(const ObjectFile *Obj) { std::string Type = (std::string(Text ? "TEXT " : "") + (Data ? "DATA " : "") + (BSS ? "BSS" : "")); outs() << format("%3d %-13s %08" PRIx64 " %016" PRIx64 " %s\n", - Section.getIndex(), Name.str().c_str(), Size, Address, - Type.c_str()); + (unsigned)Section.getIndex(), Name.str().c_str(), Size, + Address, Type.c_str()); } }