summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2018-03-26 19:55:01 +0000
committerPaul Robinson <paul.robinson@sony.com>2018-03-26 19:55:01 +0000
commit82e48647301bc965122fce1a7eed95b615b1f584 (patch)
tree05741071007ed91379abce158a19b3dec1a5ebec /llvm/lib/DebugInfo
parent88e2bac94d14b1e6d65aea3d3b3d48695ec0835d (diff)
downloadbcm5719-llvm-82e48647301bc965122fce1a7eed95b615b1f584.tar.gz
bcm5719-llvm-82e48647301bc965122fce1a7eed95b615b1f584.zip
Use correct format specifier.
Review comment on r328235 by James Henderson. llvm-svn: 328578
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
index dbe1185417a..9d2d69f5d03 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;
OpenPOWER on IntegriCloud