commit | 74c350af2181cf21085f69bd2d9bcf4d6d2dc03c | [log] [tgz] |
---|---|---|
author | Igor Kudrin <ikudrin@accesssoftek.com> | Tue Jul 16 06:56:10 2019 +0000 |
committer | Igor Kudrin <ikudrin@accesssoftek.com> | Tue Jul 16 06:56:10 2019 +0000 |
tree | e8bf16b8182786c6a0e73e80a1a35a535d9999af | |
parent | 860f7ec05871d36b519ba31295670963f2fd3f95 [diff] [blame] |
[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
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp index 8a62108..77b4688 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp +++ b/llvm/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;