HomePhabricator

Fix the verification of DIEs with DW_AT_ranges.

Authored by clayborg on May 13 2020, 4:51 PM.

Description

Fix the verification of DIEs with DW_AT_ranges.

Summary: Previous code would try to verify DW_AT_ranges and if any ranges would overlap, it would stop attributing any ranges after this to the DIE which caused incorrect errors to be reported that a DIE's address ranges were not contained in the parent DIE's ranges. Added a fix and a test.

Reviewers: aprantl, labath, probinson, JDevlieghere, jhenderson

Subscribers: hiraditya, MaskRay, cmtice, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79962

Details

Committed
clayborgJun 22 2020, 1:13 PM
Differential Revision
D79962: Fix the verification of DIEs with DW_AT_ranges.
Parents
rGbd7defeb9409: llvm-nm: Implement --special-syms.
Branches
Unknown
Tags
Unknown