[all-commits] [llvm/llvm-project] 78be6b: llvm-gsymutil now handles empty linkage names corr...

Greg Clayton via All-commits all-commits at lists.llvm.org
Mon Oct 16 16:24:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78be6b22347e9900ad6aef0664161be60dbe8ced
      https://github.com/llvm/llvm-project/commit/78be6b22347e9900ad6aef0664161be60dbe8ced
  Author: Greg Clayton <gclayton at fb.com>
  Date:   2023-10-16 (Mon, 16 Oct 2023)

  Changed paths:
    M llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
    M llvm/unittests/DebugInfo/GSYM/GSYMTest.cpp

  Log Message:
  -----------
  llvm-gsymutil now handles empty linkage names correctly. (#68931)

Previous to this fix, if we had a DW_TAG_subprogram that had a
DW_AT_linkage_name that was empty, it would attempt to use this name
which would cause an error to be emitted when saving the gsym file to
disk:

error: DWARF conversion failed: : attempted to encode invalid
FunctionInfo object

This patch fixes this issue and adds a unit test case.




More information about the All-commits mailing list