[all-commits] [llvm/llvm-project] 04c203: llvm-symbolizer: Fix "start file" to work with Spl...

David Blaikie via All-commits all-commits at lists.llvm.org
Fri Jul 9 18:41:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04c203e310bd3fb58e16c936c0200d680100526e
      https://github.com/llvm/llvm-project/commit/04c203e310bd3fb58e16c936c0200d680100526e
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2021-07-09 (Fri, 09 Jul 2021)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
    M llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
    A llvm/test/DebugInfo/X86/symbolize_function_start.s

  Log Message:
  -----------
  llvm-symbolizer: Fix "start file" to work with Split DWARF

A followup to the feature added in
69da27c7496ea373567ce5121e6fe8613846e7a5 that added the optional "start
file name" to match "start line" - but this didn't work with Split DWARF
because of the need for the decl file number resolution code to refer
back to the skeleton unit to find its .debug_line contribution. So this
patch adds the necessary infrastructure to track the skeleton unit
corresponding to a split full unit for the purpose of this lookup.




More information about the All-commits mailing list