Skip to content

Commit 7ddaf3c

Browse files
committed
DWARFVerifier.cpp: Fix -m32 in r308928. Use PRIx64.
llvm-svn: 308949
1 parent 6bf6791 commit 7ddaf3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ unsigned DWARFVerifier::verifyDieRanges(const DWARFDie &Die) {
215215
for (auto Range : Die.getAddressRanges()) {
216216
if (Range.LowPC >= Range.HighPC) {
217217
++NumErrors;
218-
OS << format("error: Invalid address range [0x%08x - 0x%08x].\n",
218+
OS << format("error: Invalid address range [0x%08" PRIx64
219+
" - 0x%08" PRIx64 "].\n",
219220
Range.LowPC, Range.HighPC);
220221
}
221222
}

0 commit comments

Comments
 (0)