Fix BB after r316756 "[llvm-dwarfdump] - Teach verifier to report broken DWARF expres...
authorGeorge Rimar <grimar@accesssoftek.com>
Fri, 27 Oct 2017 10:58:04 +0000 (10:58 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Fri, 27 Oct 2017 10:58:04 +0000 (10:58 +0000)
Bot:
http://lab.llvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/6255

Changed format of this message by mistake.

llvm-svn: 316757

llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp

index f27c849..8e07bb3 100644 (file)
@@ -404,7 +404,7 @@ unsigned DWARFVerifier::verifyDebugInfoAttribute(const DWARFDie &Die,
     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:");