[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
This commit is contained in:
George Rimar 2018-07-18 09:25:36 +00:00
parent 1b9c505cfe
commit 863e12ad16

View 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());
}
}