[all-commits] [llvm/llvm-project] ccf5a4: Fix the verification of DIEs with DW_AT_ranges.

Greg Clayton via All-commits all-commits at lists.llvm.org
Mon Jun 22 13:14:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ccf5a44917fcb3e57d18d7f73bef06607ec7a20d
      https://github.com/llvm/llvm-project/commit/ccf5a44917fcb3e57d18d7f73bef06607ec7a20d
  Author: Greg Clayton <gclayton at fb.com>
  Date:   2020-06-22 (Mon, 22 Jun 2020)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFAddressRange.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h
    M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
    A llvm/test/tools/llvm-dwarfdump/X86/verify_overlapping_cu_ranges.yaml

  Log Message:
  -----------
  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




More information about the All-commits mailing list