OSDN Git Service

[llvm-objdump] - An attempt to fix BB after r337361.
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 18 Jul 2018 09:25:36 +0000 (09:25 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 18 Jul 2018 09:25:36 +0000 (09:25 +0000)
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

tools/llvm-objdump/llvm-objdump.cpp

index 987f565..4d8a10d 100644 (file)
@@ -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());
   }
 }