[Lldb-commits] [lldb] [lldb] DWARFDIE: Follow DW_AT_specification when computing CompilerCo… (PR #77157)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 8 04:45:14 PST 2024
================
@@ -404,7 +409,7 @@ std::vector<lldb_private::CompilerContext> DWARFDIE::GetDeclContext() const {
push_ctx(CompilerContextKind::Enum, GetName());
break;
case DW_TAG_subprogram:
- push_ctx(CompilerContextKind::Function, GetPubname());
+ push_ctx(CompilerContextKind::Function, GetName());
----------------
Michael137 wrote:
What's the impact of this change? Looks like previously if a `DW_TAG_subprogram` had a linkage name, we'd put that into the `CompilerContext`? Is that not necessary anymore?
https://github.com/llvm/llvm-project/pull/77157
More information about the lldb-commits
mailing list