Skip to content

Commit 3cc9204

Browse files
author
Arslan Khabutdinov
committed
Revert "fix llvm-gsymutil verification (llvm#141751)"
This reverts commit beb6972.
1 parent db54719 commit 3cc9204

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -660,11 +660,6 @@ void DWARFUnit::clearDIEs(bool KeepCUDie, bool KeepDWODies) {
660660
if (!KeepDWODies && DWO) {
661661
DWO->clearDIEs(KeepCUDie, KeepDWODies);
662662
}
663-
if (!IsDWO) {
664-
RangeSectionBase = 0;
665-
LocSectionBase = 0;
666-
AddrOffsetSectionBase = std::nullopt;
667-
}
668663
// Do not use resize() + shrink_to_fit() to free memory occupied by dies.
669664
// shrink_to_fit() is a *non-binding* request to reduce capacity() to
670665
// size(). It depends on the implementation whether the request is

0 commit comments

Comments
 (0)