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

llvm-svn: 142984
This commit is contained in:
Michael J. Spencer 2011-10-25 22:45:47 +00:00
parent 6e080ddb31
commit 839b7b1255
1 changed files with 2 additions and 2 deletions

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 << " "