From 82e48647301bc965122fce1a7eed95b615b1f584 Mon Sep 17 00:00:00 2001 From: Paul Robinson Date: Mon, 26 Mar 2018 19:55:01 +0000 Subject: [PATCH] Use correct format specifier. Review comment on r328235 by James Henderson. llvm-svn: 328578 --- llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp index dbe1185..9d2d69f5 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp @@ -553,7 +553,7 @@ bool DWARFDebugLine::LineTable::parse(DWARFDataExtractor &DebugLineData, 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; -- 2.7.4