[all-commits] [llvm/llvm-project] 07d44c: [DWARF][Verifier] Do not add child DieRangeInfo wi...
avl-llvm via All-commits
all-commits at lists.llvm.org
Sun Aug 22 09:39:58 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 07d44cc0b14765732c6ca37e534ed34935ab2d6e
https://github.com/llvm/llvm-project/commit/07d44cc0b14765732c6ca37e534ed34935ab2d6e
Author: Alexey Lapshin <a.v.lapshin at mail.ru>
Date: 2021-08-22 (Sun, 22 Aug 2021)
Changed paths:
M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
A llvm/test/tools/llvm-dwarfdump/X86/verify_cu_ranges.yaml
A llvm/test/tools/llvm-dwarfdump/X86/verify_parent_zero_length.yaml
Log Message:
-----------
[DWARF][Verifier] Do not add child DieRangeInfo with empty address range to the parent.
verifyDieRanges function checks for the intersected address ranges.
It adds child DieRangeInfo into parent DieRangeInfo to check
whether children have overlapping address ranges. It is safe to not add
DieRangeInfo with empty address range into parent's children list.
This decreases the number of children which should be navigated and as a result
decreases execution time(parents having a lot of children with empty ranges
spend much time navigating them). For this command: "llvm-dwarfdump --verify clang-repl"
execution time decreased from 220 sec till 75 sec.
Differential Revision: https://reviews.llvm.org/D107554
More information about the All-commits
mailing list