summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c4392f9)
raw | patch | inline | side by side (parent: c4392f9)
author | Rui Ueyama <ruiu@google.com> | |
Wed, 5 Mar 2014 23:03:37 +0000 (23:03 +0000) | ||
committer | Rui Ueyama <ruiu@google.com> | |
Wed, 5 Mar 2014 23:03:37 +0000 (23:03 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203023 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-objdump/COFFDump.cpp | patch | blob | history |
index 86bed62519052cca261da4a32652dbb69226176e..3df443149a6a56103bbbadb4d1d5674a1973de04 100644 (file)
if (!RF.StartAddress)
return;
outs() << "Function Table:\n"
- << format(" Start Address: 0x%04x\n", RF.StartAddress)
- << format(" End Address: 0x%04x\n", RF.EndAddress)
- << format(" Unwind Info Address: 0x%04x\n", RF.UnwindInfoOffset);
+ << format(" Start Address: 0x%04x\n",
+ static_cast<uint32_t>(RF.StartAddress))
+ << 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;
if (Obj->getRvaPtr(RF.UnwindInfoOffset, addr))
return;