[all-commits] [llvm/llvm-project] 0da27b: [DebugInfo] Add DWARF emission for DBG_VALUE_LIST

Stephen Tozer via All-commits all-commits at lists.llvm.org
Wed Mar 10 05:47:06 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0da27ba56c9f5e3f534a65401962301189eac342
      https://github.com/llvm/llvm-project/commit/0da27ba56c9f5e3f534a65401962301189eac342
  Author: gbtozers <stephen.tozer at sony.com>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
    M llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
    M llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
    A llvm/test/DebugInfo/X86/dbg_value_list_clobbers.mir
    A llvm/test/DebugInfo/X86/dbg_value_list_emission.mir

  Log Message:
  -----------
  [DebugInfo] Add DWARF emission for DBG_VALUE_LIST

This patch allows DBG_VALUE_LIST instructions to be emitted to DWARF with valid
DW_AT_locations. This change mainly affects DbgEntityHistoryCalculator, which
now tracks multiple registers per value, and DwarfDebug+DwarfExpression, which
can now emit multiple machine locations as part of a DWARF expression.

Differential Revision: https://reviews.llvm.org/D83495




More information about the All-commits mailing list