[all-commits] [llvm/llvm-project] befbc9: Reland D79501 "[DebugInfo] Fix handling DW_OP_call...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri May 8 09:36:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: befbc99a7f092df5868b5ff0c6e46f41236cb1af
      https://github.com/llvm/llvm-project/commit/befbc99a7f092df5868b5ff0c6e46f41236cb1af
  Author: Fangrui Song <maskray at google.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:
  -----------
  Reland D79501 "[DebugInfo] Fix handling DW_OP_call_ref in DWARF64 units."

With a fix to uninitialized EndOffset.

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




More information about the All-commits mailing list