commit | af0816c29d763a0da4d0bdb378d4902c9c0029cc | [log] [tgz] |
---|---|---|
author | Pablo Busse <Pablo.Busse@microsoft.com> | Sun Mar 31 09:17:32 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Sun Mar 31 09:24:43 2024 -0700 |
tree | ff949f9b6a0874f171cc5cc0ad9483cfd3b474b1 | |
parent | d109d86bbf33b6a00afa67c2865e5c4fdab28859 [diff] |
[lldb] Fix type lookup in DWARF .o files via debug map (#87177) An inverted condition causes `SymbolFileDWARFDebugMap::FindTypes` to bail out after inspecting the first .o file in each module. The same kind of bug is found in `SymbolFileDWARFDebugMap::ParseDeclsForContext`. Correct both early exit conditions and add a regression test for lookup of up a type defined in a secondary compilation unit. Fixes #87176 GitOrigin-RevId: 154cea46732f4014bb409f1bcac9b39ac56df193