[llvm] r191266 - DWARFTypeUnit::dump(): Use PRIx64 to format uint64_t.

David Blaikie dblaikie at gmail.com
Mon Sep 23 20:53:09 PDT 2013


On Mon, Sep 23, 2013 at 8:23 PM, NAKAMURA Takumi <geek4civic at gmail.com>wrote:

> Author: chapuni
>

Thanks for catching this - I'd seen the failures but couldn't for the life
of me figure out the issue. Will try to remember that for next time.


> Date: Mon Sep 23 22:23:07 2013
> New Revision: 191266
>
> URL: http://llvm.org/viewvc/llvm-project?rev=191266&view=rev
> Log:
> DWARFTypeUnit::dump(): Use PRIx64 to format uint64_t.
>
> Modified:
>     llvm/trunk/lib/DebugInfo/DWARFTypeUnit.cpp
>
> Modified: llvm/trunk/lib/DebugInfo/DWARFTypeUnit.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARFTypeUnit.cpp?rev=191266&r1=191265&r2=191266&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/DebugInfo/DWARFTypeUnit.cpp (original)
> +++ llvm/trunk/lib/DebugInfo/DWARFTypeUnit.cpp Mon Sep 23 22:23:07 2013
> @@ -28,7 +28,7 @@ void DWARFTypeUnit::dump(raw_ostream &OS
>       << " version = " << format("0x%04x", getVersion())
>       << " abbr_offset = " << format("0x%04x",
> getAbbreviations()->getOffset())
>       << " addr_size = " << format("0x%02x", getAddressByteSize())
> -     << " type_signature = " << format("0x%16lx", TypeHash)
> +     << " type_signature = " << format("0x%16" PRIx64, TypeHash)
>       << " type_offset = " << format("0x%04x", TypeOffset)
>       << " (next unit at " << format("0x%08x", getNextUnitOffset())
>       << ")\n";
>
>
> _______________________________________________
> 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/20130923/e75a4e7c/attachment.html>


More information about the llvm-commits mailing list