Attempt to unbreak little-endian buildbots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203023 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rui Ueyama 2014-03-05 23:03:37 +00:00
parent c4392f9fe9
commit 1da08cb171

View File

@ -458,9 +458,12 @@ static void printRuntimeFunction(const COFFObjectFile *Obj,
if (!RF.StartAddress) if (!RF.StartAddress)
return; return;
outs() << "Function Table:\n" outs() << "Function Table:\n"
<< format(" Start Address: 0x%04x\n", RF.StartAddress) << format(" Start Address: 0x%04x\n",
<< format(" End Address: 0x%04x\n", RF.EndAddress) static_cast<uint32_t>(RF.StartAddress))
<< format(" Unwind Info Address: 0x%04x\n", RF.UnwindInfoOffset); << format(" End Address: 0x%04x\n",
static_cast<uint32_t>(RF.EndAddress))
<< format(" Unwind Info Address: 0x%04x\n",
static_cast<uint32_t>(RF.UnwindInfoOffset));
uintptr_t addr; uintptr_t addr;
if (Obj->getRvaPtr(RF.UnwindInfoOffset, addr)) if (Obj->getRvaPtr(RF.UnwindInfoOffset, addr))
return; return;