[PATCH] D78971: [llvm/DebugInfo] Fix invalid verifier error for DWARF5
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 28 10:11:48 PDT 2020
aprantl accepted this revision.
aprantl added a comment.
This revision is now accepted and ready to land.
Seems reasonable. Nitpick inside :-)
thanks!
================
Comment at: llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp:467
+ "DW_AT_ranges offset is beyond " +
+ StringRef(DwarfVersion < 5 ? ".debug_ranges" : ".debug_rnglists") +
+ " bounds: " + llvm::formatv("{0:x8}", *SectionOffset));
----------------
is there a `RangeSection.getName()`? Because on Mach-O the section would technically be called __debug_ranges, for example.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78971/new/
https://reviews.llvm.org/D78971
More information about the llvm-commits
mailing list