Fix -Wnon-pod-varargs error in r191472.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191473 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rui Ueyama 2013-09-27 00:20:53 +00:00
parent 0c873adc82
commit 2f00626f7e

View File

@ -243,12 +243,12 @@ static void printImportTables(const COFFObjectFile *Obj) {
if (i->getImportTableEntry(Dir)) return; if (i->getImportTableEntry(Dir)) return;
if (i->getName(Name)) return; if (i->getName(Name)) return;
outs() << format(" lookup %08x", Dir->ImportLookupTableRVA); outs() << format(" lookup %08x time %08x fwd %08x name %08x addr %08x\n\n",
outs() << format(" time %08x", Dir->TimeDateStamp); static_cast<uint32_t>(Dir->ImportLookupTableRVA),
outs() << format(" fwd %08x", Dir->ForwarderChain); static_cast<uint32_t>(Dir->TimeDateStamp),
outs() << format(" name %08x", Dir->NameRVA); static_cast<uint32_t>(Dir->ForwarderChain),
outs() << format(" addr %08x\n\n", Dir->ImportAddressTableRVA); static_cast<uint32_t>(Dir->NameRVA),
static_cast<uint32_t>(Dir->ImportAddressTableRVA));
outs() << " DLL Name: " << Name << "\n"; outs() << " DLL Name: " << Name << "\n";
outs() << " Hint/Ord Name\n"; outs() << " Hint/Ord Name\n";
const COFF::ImportLookupTableEntry32 *entry; const COFF::ImportLookupTableEntry32 *entry;