[all-commits] [llvm/llvm-project] ab699d: [DebugInfo] llvm rejects DWARF operator DW_OP_push...

Alok Kumar Sharma via All-commits all-commits at lists.llvm.org
Thu May 14 22:41:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ab699d78a26f147b56537326ecadc072f8f5a03b
      https://github.com/llvm/llvm-project/commit/ab699d78a26f147b56537326ecadc072f8f5a03b
  Author: Alok Kumar Sharma <AlokKumar.Sharma at amd.com>
  Date:   2020-05-15 (Fri, 15 May 2020)

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

  Log Message:
  -----------
  [DebugInfo] llvm rejects DWARF operator DW_OP_push_object_address

llvm rejects DWARF operator DW_OP_push_object_address.This DWARF
operator is needed for Flang to support allocatable array.

Summary:
Currently llvm rejects DWARF operator DW_OP_push_object_address.
below error is produced when llvm finds this operator.

[..]
invalid expression
!DIExpression(151)
warning: ignoring invalid debug info in pushobj.ll
[..]

There are some parts missing in support of this operator, need to
be completed.

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

Reviewed By: aprantl

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




More information about the All-commits mailing list