mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
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:
parent
fe944e8cd0
commit
232b1f268c
@ -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
Block a user