[all-commits] [llvm/llvm-project] 7cdd26: DebugInfo: Fix incorrect line table lookup when re...

David Blaikie via All-commits all-commits at lists.llvm.org
Thu Nov 4 14:54:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cdd2623518019c3d3cf162ae9f55f9d72f421d3
      https://github.com/llvm/llvm-project/commit/7cdd2623518019c3d3cf162ae9f55f9d72f421d3
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
    M llvm/test/DebugInfo/X86/symbolize_function_start.s
    A llvm/test/DebugInfo/X86/symbolize_function_start_v5.s

  Log Message:
  -----------
  DebugInfo: Fix incorrect line table lookup when resolving decl_file from a split unit

Specifically in DWARFv5 the unit for the line table entry was correct
but the context was incorrect - leading to looking up .debug_line_str in
the dwp instead of the executable.

(perhaps we could/should remove the context pointer entirely, and rely
on the one in the unit... I might try that as a separate follow-up
commit)




More information about the All-commits mailing list