[all-commits] [llvm/llvm-project] 925b22: [lldb] Recurse through DW_AT_signature when lookin...
Pavel Labath via All-commits
all-commits at lists.llvm.org
Tue Sep 10 03:58:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 925b220ee424f8489bc8d7b1a247f2c5f3edde5d
https://github.com/llvm/llvm-project/commit/925b220ee424f8489bc8d7b1a247f2c5f3edde5d
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-09-10 (Tue, 10 Sep 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
A lldb/test/Shell/SymbolFile/DWARF/x86/type-unit-same-basename.cpp
Log Message:
-----------
[lldb] Recurse through DW_AT_signature when looking for attributes (#107241)
This allows e.g. DWARFDIE::GetName() to return the name of the type when
looking at its declaration (which contains only
DW_AT_declaration+DW_AT_signature). This is similar to how we recurse
through DW_AT_specification when looking for a function name. Llvm dwarf
parser has obtained the same functionality through #99495.
This fixes a bug where we would confuse a type like NS::Outer::Struct
with NS::Struct (because NS::Outer (and its name) was in a type unit).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list