[all-commits] [llvm/llvm-project] bd0dd2: [DWARFLinker][DWARFv5] Add handling of DW_OP_addrx...

avl-llvm via All-commits all-commits at lists.llvm.org
Tue May 16 10:28:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd0dd27bb5be0fbf60c1b2a4ce15188812388574
      https://github.com/llvm/llvm-project/commit/bd0dd27bb5be0fbf60c1b2a4ce15188812388574
  Author: Alexey Lapshin <a.v.lapshin at mail.ru>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M llvm/include/llvm/DWARFLinker/DWARFLinker.h
    M llvm/include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h
    M llvm/include/llvm/DWARFLinkerParallel/AddressesMap.h
    M llvm/lib/DWARFLinker/DWARFLinker.cpp
    M llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
    A llvm/test/tools/dsymutil/Inputs/dwarf5-dw-op-addrx.o
    A llvm/test/tools/dsymutil/X86/dwarf5-dw-op-addrx.test
    M llvm/test/tools/dsymutil/X86/op-convert-offset.test
    A llvm/test/tools/llvm-dwarfutil/ELF/X86/dwarf5-addresses.test
    R llvm/test/tools/llvm-dwarfutil/ELF/X86/dwarf5-addrx.test
    M llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
    M llvm/tools/dsymutil/DwarfLinkerForBinary.h
    M llvm/tools/llvm-dwarfutil/DebugInfoLinker.cpp

  Log Message:
  -----------
  [DWARFLinker][DWARFv5] Add handling of DW_OP_addrx and DW_OP_constx expression operands.

This patch adds handling of DW_OP_addrx and DW_OP_constx expression operands.
In --update case these operands are preserved as is. Otherwise they are
converted into the DW_OP_addr and DW_OP_const[*]u correspondingly.

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




More information about the All-commits mailing list