[all-commits] [llvm/llvm-project] cec33f: [lldb] Consider TAG_imported_declaration in DebugN...
Felipe de Azevedo Piovezan via All-commits
all-commits at lists.llvm.org
Sat Jul 8 06:17:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cec33fc87c0c0094b0d627031ff756b2d1f905eb
https://github.com/llvm/llvm-project/commit/cec33fc87c0c0094b0d627031ff756b2d1f905eb
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2023-07-08 (Sat, 08 Jul 2023)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
Log Message:
-----------
[lldb] Consider TAG_imported_declaration in DebugNamesIndex
In order to recognize namespace aliases as a namespace, the
DW_TAG_imported_declaration has to be taken into account. The name of these DIEs
is already included in all accelerator tables as of D143397.
Two of the three Index classes already handle this correctly:
1. ManualDWARFIndex (as of D143398)
2. AppleDWARFIndex works by default with D143397, since apple has a table
dedicated to namespaces.
This commit updates the third index class, DWARF 5's DebugNamesDWARFIndex.
As a result, it fixes the following test with DWARF 5:
commands/expression/namespace-alias/TestInlineNamespaceAlias.py
Differential Revision: https://reviews.llvm.org/D154730
More information about the All-commits
mailing list