llvm-objdump.cpp: Use PRIx64 as format specifier for int64_t.

llvm-svn: 141664
This commit is contained in:
NAKAMURA Takumi 2011-10-11 12:51:50 +00:00
parent 162abf56c1
commit bf2fb9b9e2

View File

@ -311,7 +311,7 @@ static void PrintSectionHeaders(const ObjectFile *o) {
if (error(si->isBSS(BSS))) return;
std::string Type = (std::string(Text ? "TEXT " : "") +
(Data ? "DATA " : "") + (BSS ? "BSS" : ""));
outs() << format("%3d %-13s %09x %017x %s\n", i, Name.str().c_str(), Size,
outs() << format("%3d %-13s %09"PRIx64" %017"PRIx64" %s\n", i, Name.str().c_str(), Size,
Address, Type.c_str());
++i;
}