From c1090da8529d85e85ab8dbf141ebecd8926b00ab Mon Sep 17 00:00:00 2001 From: George Rimar Date: Wed, 18 Jul 2018 09:25:36 +0000 Subject: [PATCH] [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. llvm-svn: 337371 --- llvm/tools/llvm-objdump/llvm-objdump.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/tools/llvm-objdump/llvm-objdump.cpp b/llvm/tools/llvm-objdump/llvm-objdump.cpp index 987f565..4d8a10d 100644 --- a/llvm/tools/llvm-objdump/llvm-objdump.cpp +++ b/llvm/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()); } } -- 2.7.4