[all-commits] [llvm/llvm-project] 05dfbc: [lldb] Regularize DWARFDIE::Get{TypeLookup, Decl}Co...

Pavel Labath via All-commits all-commits at lists.llvm.org
Fri Jan 10 00:24:13 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05dfbc146d87866f0ef22dc88f729b5b9fdfe1a0
      https://github.com/llvm/llvm-project/commit/05dfbc146d87866f0ef22dc88f729b5b9fdfe1a0
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2025-01-10 (Fri, 10 Jan 2025)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp

  Log Message:
  -----------
  [lldb] Regularize DWARFDIE::Get{TypeLookup,Decl}Context names (#122273)

The functions call GetName for everything except variables, where they
call GetPubname instead. The difference is that the latter prefers to
return the linkage name, if it is available.

This doesn't seem particularly useful given that the linkage name
already kind of contains the context of the variable, and I doubt that
anything depends on it as these functions are currently called on type
and subprogram DIEs -- not variables.

This makes it easier to simplify/deduplicate these functions later.



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