This is an archive of the discontinued LLVM Phabricator instance.

[DWARF v5] Don't report an error when the .debug_rnglists section is empty or non-existent (PR 38297)
ClosedPublic

Authored by wolfgangp on Jul 25 2018, 11:56 AM.

Details

Summary

When we are parsing a CU DIE we do attempt to find a valid range lists table header (the ranges are extracted on-demand). We fail to ignore a non-existent or empty .debug_rnglists section and report an error.

This doesn't address the larger question whether we should exit from llvm-dwarfdump with a non-zero code whenever an error is reported, whether verification is requested or not.

https://bugs.llvm.org/show_bug.cgi?id=38297

Diff Detail

Event Timeline

wolfgangp created this revision.Jul 25 2018, 11:56 AM
This revision is now accepted and ready to land.Jul 25 2018, 3:36 PM
This revision was automatically updated to reflect the committed changes.