forked from OSchip/llvm-project
llvm-nm: Use correct format string. Patch by Stepan Dyatkovskiy!
llvm-svn: 142984
This commit is contained in:
parent
6e080ddb31
commit
839b7b1255
|
@ -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 << " "
|
||||
|
|
Loading…
Reference in New Issue