diff options
author | Pablo Busse <Pablo.Busse@microsoft.com> | 2024-03-31 09:17:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-31 17:17:32 +0100 |
commit | 154cea46732f4014bb409f1bcac9b39ac56df193 (patch) | |
tree | f5a8eaa86f7cdba75006341dd44fe5be049a6cec /llvm/lib/Object/COFFImportFile.cpp | |
parent | 45f5fa2925142edf9a3d1648fac6c1f80b360175 (diff) | |
download | llvm-154cea46732f4014bb409f1bcac9b39ac56df193.zip llvm-154cea46732f4014bb409f1bcac9b39ac56df193.tar.gz llvm-154cea46732f4014bb409f1bcac9b39ac56df193.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Object/COFFImportFile.cpp')
0 files changed, 0 insertions, 0 deletions