[llvm] r316757 - Fix BB after r316756 "[llvm-dwarfdump] - Teach verifier to report broken DWARF expressions."
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 27 03:58:04 PDT 2017
Author: grimar
Date: Fri Oct 27 03:58:04 2017
New Revision: 316757
URL: http://llvm.org/viewvc/llvm-project?rev=316757&view=rev
Log:
Fix BB after r316756 "[llvm-dwarfdump] - Teach verifier to report broken DWARF expressions."
Bot:
http://lab.llvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/6255
Changed format of this message by mistake.
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=316757&r1=316756&r2=316757&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cpp Fri Oct 27 03:58:04 2017
@@ -404,7 +404,7 @@ unsigned DWARFVerifier::verifyDebugInfoA
if (auto SectionOffset = AttrValue.Value.getAsSectionOffset()) {
if (*SectionOffset >= DObj.getLineSection().Data.size())
ReportError("DW_AT_stmt_list offset is beyond .debug_line bounds: " +
- llvm::formatv("{0:x16}", *SectionOffset));
+ llvm::formatv("{0:x8}", *SectionOffset));
break;
}
ReportError("DIE has invalid DW_AT_stmt_list encoding:");
More information about the llvm-commits
mailing list