llvm-nm: Use correct format string. Patch by Stepan Dyatkovskiy!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142984 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael J. Spencer 2011-10-25 22:45:47 +00:00
parent fe944e8cd0
commit 232b1f268c

View File

@ -192,9 +192,9 @@ static void SortAndPrintSymbolList() {
strcpy(SymbolSizeStr, " ");
if (i->Address != object::UnknownAddressOrSize)
format("%08x", i->Address).print(SymbolAddrStr, sizeof(SymbolAddrStr));
format("%08llx", i->Address).print(SymbolAddrStr, sizeof(SymbolAddrStr));
if (i->Size != object::UnknownAddressOrSize)
format("%08x", i->Size).print(SymbolSizeStr, sizeof(SymbolSizeStr));
format("%08llx", i->Size).print(SymbolSizeStr, sizeof(SymbolSizeStr));
if (OutputFormat == posix) {
outs() << i->Name << " " << i->TypeChar << " "