[all-commits] [llvm/llvm-project] 053835: [DebugInfo] Support for DWARF operator DW_OP_over

Alok Kumar Sharma via All-commits all-commits at lists.llvm.org
Fri Oct 16 20:22:02 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0538353b3be3e2a3b1114b6ae238165726727e1c
      https://github.com/llvm/llvm-project/commit/0538353b3be3e2a3b1114b6ae238165726727e1c
  Author: Alok Kumar Sharma <AlokKumar.Sharma at amd.com>
  Date:   2020-10-17 (Sat, 17 Oct 2020)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
    M llvm/lib/IR/DebugInfoMetadata.cpp
    A llvm/test/Bitcode/DW_OP_over.ll
    A llvm/test/DebugInfo/X86/dwarfdump-over.ll

  Log Message:
  -----------
  [DebugInfo] Support for DWARF operator DW_OP_over

LLVM rejects DWARF operator DW_OP_over. This DWARF operator is needed
for Flang to support assumed rank array.

  Summary:
Currently LLVM rejects DWARF operator DW_OP_over. Below error is
produced when llvm finds this operator.
[..]
invalid expression
!DIExpression(151, 20, 16, 48, 30, 35, 80, 34, 6)
warning: ignoring invalid debug info in over.ll
[..]
There were some parts missing in support of this operator, which are
now completed.

  Testing
-added a unit testcase
-check-debuginfo
-check-llvm

Reviewed By: aprantl

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




More information about the All-commits mailing list