[llvm] r337371 - [llvm-objdump] - An attempt to fix BB after r337361.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 18 02:25:36 PDT 2018


Author: grimar
Date: Wed Jul 18 02:25:36 2018
New Revision: 337371

URL: http://llvm.org/viewvc/llvm-project?rev=337371&view=rev
Log:
[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.

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

Modified: llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp?rev=337371&r1=337370&r2=337371&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp Wed Jul 18 02:25:36 2018
@@ -1826,8 +1826,8 @@ void llvm::PrintSectionHeaders(const 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());
   }
 }
 




More information about the llvm-commits mailing list