diff options
author | Alok Kumar Sharma <AlokKumar.Sharma@amd.com> | 2020-10-17 08:24:08 +0530 |
---|---|---|
committer | Alok Kumar Sharma <AlokKumar.Sharma@amd.com> | 2020-10-17 08:42:28 +0530 |
commit | 0538353b3be3e2a3b1114b6ae238165726727e1c (patch) | |
tree | 0c5f6b635bbd5c9fcebf813da202d24b448695df /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 278bd068918b7df1fe3a2a31a15122f2a708d883 (diff) | |
download | llvm-0538353b3be3e2a3b1114b6ae238165726727e1c.zip llvm-0538353b3be3e2a3b1114b6ae238165726727e1c.tar.gz llvm-0538353b3be3e2a3b1114b6ae238165726727e1c.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions