[llvm] r203023 - Attempt to unbreak little-endian buildbots.
Rui Ueyama
ruiu at google.com
Wed Mar 5 15:12:41 PST 2014
Typo: I'm trying to fix *BE* buildbots.
On Wed, Mar 5, 2014 at 3:03 PM, Rui Ueyama <ruiu at google.com> wrote:
> Author: ruiu
> Date: Wed Mar 5 17:03:37 2014
> New Revision: 203023
>
> URL: http://llvm.org/viewvc/llvm-project?rev=203023&view=rev
> Log:
> Attempt to unbreak little-endian buildbots.
>
> Modified:
> llvm/trunk/tools/llvm-objdump/COFFDump.cpp
>
> Modified: llvm/trunk/tools/llvm-objdump/COFFDump.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/COFFDump.cpp?rev=203023&r1=203022&r2=203023&view=diff
>
> ==============================================================================
> --- llvm/trunk/tools/llvm-objdump/COFFDump.cpp (original)
> +++ llvm/trunk/tools/llvm-objdump/COFFDump.cpp Wed Mar 5 17:03:37 2014
> @@ -458,9 +458,12 @@ static void printRuntimeFunction(const C
> 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;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140305/64c6dd75/attachment.html>
More information about the llvm-commits
mailing list