HomePhabricator

[DWARF] Fix crash for DWARFDie::dump.

Authored by ayermolo on Apr 14 2021, 5:04 PM.

Description

[DWARF] Fix crash for DWARFDie::dump.

When DIE is extracted manually, the DieArray is empty. When dump is invoked on aforementioned DIE it tries to extract child, even if Dump options say otherwise. Resulting in crash.

Reviewed By: dblaikie

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

Details

Committed
rafaulerApr 14 2021, 6:46 PM
Reviewer
dblaikie
Differential Revision
D99698: [DWARF] Fix crash for DWARFDie::dump.
Parents
rG8f9477b067b0: Revert "Simplify BitVector code"
Branches
Unknown
Tags
Unknown