[Lldb-commits] [lldb] [lldb] DWARFDIE: Follow DW_AT_specification when computing CompilerCo… (PR #77157)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 8 05:45:27 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());
----------------
felipepiovezan wrote:

IIRC the linkage name / pubname each go into one of dwarf declaration/definition (I forget which one goes where), and thus we have this change?

https://github.com/llvm/llvm-project/pull/77157


More information about the lldb-commits mailing list