summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
diff options
context:
space:
mode:
authorIgor Kudrin <ikudrin@accesssoftek.com>2019-07-16 06:56:10 +0000
committerIgor Kudrin <ikudrin@accesssoftek.com>2019-07-16 06:56:10 +0000
commit74c350af2181cf21085f69bd2d9bcf4d6d2dc03c (patch)
treee8bf16b8182786c6a0e73e80a1a35a535d9999af /llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
parent860f7ec05871d36b519ba31295670963f2fd3f95 (diff)
downloadbcm5719-llvm-74c350af2181cf21085f69bd2d9bcf4d6d2dc03c.tar.gz
bcm5719-llvm-74c350af2181cf21085f69bd2d9bcf4d6d2dc03c.zip
[DWARF] Fix an incorrect format specifier.
This adjusts the format specifier because PCOffset is uint16_t. Differential Revision: https://reviews.llvm.org/D64620 llvm-svn: 366189
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp')
-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 8a621084710..77b4688c234 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
@@ -758,7 +758,7 @@ Error DWARFDebugLine::LineTable::parse(
State.Row.Address.Address += PCOffset;
if (OS)
*OS
- << format(" (0x%16.16" PRIx64 ")", PCOffset);
+ << format(" (0x%4.4" PRIx16 ")", PCOffset);
}
break;
OpenPOWER on IntegriCloud