[llvm] r328578 - Use correct format specifier.

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 26 12:55:02 PDT 2018


Author: probinson
Date: Mon Mar 26 12:55:01 2018
New Revision: 328578

URL: http://llvm.org/viewvc/llvm-project?rev=328578&view=rev
Log:
Use correct format specifier.
Review comment on r328235 by James Henderson.

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

Modified: llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugLine.cpp?rev=328578&r1=328577&r2=328578&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugLine.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugLine.cpp Mon Mar 26 12:55:01 2018
@@ -553,7 +553,7 @@ bool DWARFDebugLine::LineTable::parse(DW
           DebugLineData.setAddressSize(Len - 1);
         else if (DebugLineData.getAddressSize() != Len - 1) {
           fprintf(stderr, "Mismatching address size at offset 0x%8.8" PRIx32
-                  " expected 0x%2.2" PRIx32 " found 0x%2.2" PRIx64 "\n",
+                  " expected 0x%2.2" PRIx8 " found 0x%2.2" PRIx64 "\n",
                   ExtOffset, DebugLineData.getAddressSize(), Len - 1);
           // Skip the rest of the line-number program.
           *OffsetPtr = EndOffset;




More information about the llvm-commits mailing list