This test was testing that we could correctly find the parent of a DIE, but it was actually just testing the special case where a DIE's depth was 1. This corrects that error by adding an extra level into the the DWARF to ensure that we correctly get the parent by looking for the parent with a depth that is 1 less than the current depth.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Minor glitch, but otherwise looks fine.
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp | ||
---|---|---|
1029 ↗ | (On Diff #82967) | This is probably a debugging leftover? |