[llvm] r308949 - DWARFVerifier.cpp: Fix -m32 in r308928. Use PRIx64.
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 24 22:03:17 PDT 2017
Author: chapuni
Date: Mon Jul 24 22:03:17 2017
New Revision: 308949
URL: http://llvm.org/viewvc/llvm-project?rev=308949&view=rev
Log:
DWARFVerifier.cpp: Fix -m32 in r308928. Use PRIx64.
Modified:
llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cpp
Modified: llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cpp?rev=308949&r1=308948&r2=308949&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cpp Mon Jul 24 22:03:17 2017
@@ -215,7 +215,8 @@ unsigned DWARFVerifier::verifyDieRanges(
for (auto Range : Die.getAddressRanges()) {
if (Range.LowPC >= Range.HighPC) {
++NumErrors;
- OS << format("error: Invalid address range [0x%08x - 0x%08x].\n",
+ OS << format("error: Invalid address range [0x%08" PRIx64
+ " - 0x%08" PRIx64 "].\n",
Range.LowPC, Range.HighPC);
}
}
More information about the llvm-commits
mailing list