[PATCH] D54424: [DWARF] Do not use PRIx32 for printing uint64_t values

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 12 14:46:15 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL346715: [DWARF] Do not use PRIx32 for printing uint64_t values (authored by atanasyan, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D54424?vs=173661&id=173771#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D54424

Files:
  llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp


Index: llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
===================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
@@ -148,7 +148,7 @@
                HeaderData.Length, HeaderData.Version, HeaderData.AddrSize,
                HeaderData.SegSize);
 
-  static const char *Fmt32 = "0x%8.8" PRIx32;
+  static const char *Fmt32 = "0x%8.8" PRIx64;
   static const char *Fmt64 = "0x%16.16" PRIx64;
   std::string AddrFmt = "\n";
   std::string AddrFmtVerbose = " => ";


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54424.173771.patch
Type: text/x-patch
Size: 582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181112/4c5d14e3/attachment.bin>


More information about the llvm-commits mailing list