<div dir="ltr">Typo: I'm trying to fix *BE* buildbots.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 5, 2014 at 3:03 PM, Rui Ueyama <span dir="ltr"><<a href="mailto:ruiu@google.com" target="_blank">ruiu@google.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: ruiu<br>
Date: Wed Mar  5 17:03:37 2014<br>
New Revision: 203023<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=203023&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=203023&view=rev</a><br>
Log:<br>
Attempt to unbreak little-endian buildbots.<br>
<br>
Modified:<br>
    llvm/trunk/tools/llvm-objdump/COFFDump.cpp<br>
<br>
Modified: llvm/trunk/tools/llvm-objdump/COFFDump.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/COFFDump.cpp?rev=203023&r1=203022&r2=203023&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/COFFDump.cpp?rev=203023&r1=203022&r2=203023&view=diff</a><br>


==============================================================================<br>
--- llvm/trunk/tools/llvm-objdump/COFFDump.cpp (original)<br>
+++ llvm/trunk/tools/llvm-objdump/COFFDump.cpp Wed Mar  5 17:03:37 2014<br>
@@ -458,9 +458,12 @@ static void printRuntimeFunction(const C<br>
   if (!RF.StartAddress)<br>
     return;<br>
   outs() << "Function Table:\n"<br>
-         << format("  Start Address: 0x%04x\n", RF.StartAddress)<br>
-         << format("  End Address: 0x%04x\n", RF.EndAddress)<br>
-         << format("  Unwind Info Address: 0x%04x\n", RF.UnwindInfoOffset);<br>
+         << format("  Start Address: 0x%04x\n",<br>
+                   static_cast<uint32_t>(RF.StartAddress))<br>
+         << format("  End Address: 0x%04x\n",<br>
+                   static_cast<uint32_t>(RF.EndAddress))<br>
+         << format("  Unwind Info Address: 0x%04x\n",<br>
+                   static_cast<uint32_t>(RF.UnwindInfoOffset));<br>
   uintptr_t addr;<br>
   if (Obj->getRvaPtr(RF.UnwindInfoOffset, addr))<br>
     return;<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>