[PATCH] D64620: [DWARF] Fix an incorrect format specifier.

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 15 23:56:06 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL366189: [DWARF] Fix an incorrect format specifier. (authored by ikudrin, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D64620?vs=209432&id=210028#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64620/new/

https://reviews.llvm.org/D64620

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


Index: llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
===================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
@@ -758,7 +758,7 @@
           State.Row.Address.Address += PCOffset;
           if (OS)
             *OS
-                << format(" (0x%16.16" PRIx64 ")", PCOffset);
+                << format(" (0x%4.4" PRIx16 ")", PCOffset);
         }
         break;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64620.210028.patch
Type: text/x-patch
Size: 492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190716/6b654733/attachment.bin>


More information about the llvm-commits mailing list