[all-commits] [llvm/llvm-project] 050c9d: [DebugInfo] Fix printing values of forms which dep...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Fri May 8 01:15:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 050c9dd43a0fd32c0bb8b944b6adb8f780c83c1c
      https://github.com/llvm/llvm-project/commit/050c9dd43a0fd32c0bb8b944b6adb8f780c83c1c
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2020-05-08 (Fri, 08 May 2020)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
    M llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp

  Log Message:
  -----------
  [DebugInfo] Fix printing values of forms which depend on the DWARF format.

The values are 8 bytes long in DWARF64, so they should not be truncated
to uint32_t on dumping.

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


  Commit: 989ae9e848a079715c2d23e5d3622cac9b48e08e
      https://github.com/llvm/llvm-project/commit/989ae9e848a079715c2d23e5d3622cac9b48e08e
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2020-05-08 (Fri, 08 May 2020)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/DWARFLinker/DWARFLinker.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
    A llvm/test/DebugInfo/X86/DW_OP_call_ref_dwarf64.s
    A llvm/test/DebugInfo/X86/DW_OP_call_ref_unexpected.s
    M llvm/tools/llvm-dwarfdump/Statistics.cpp

  Log Message:
  -----------
  [DebugInfo] Fix handling DW_OP_call_ref in DWARF64 units.

DW_OP_call_ref is the only operation that has an operand which depends
on the DWARF format. The patch fixes handling that operation in DWARF64
units.

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


Compare: https://github.com/llvm/llvm-project/compare/5fa87ec004fd...989ae9e848a0


More information about the All-commits mailing list