[PATCH] D89141: [DebugInfo] Support for DWARF attribute DW_AT_rank
Alok Kumar Sharma via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 9 09:40:29 PDT 2020
alok created this revision.
alok added reviewers: aprantl, sscalpone, probinson, jmorse, jini.susan.george, SouraVX.
alok added a project: debug-info.
Herald added subscribers: llvm-commits, jdoerfert, ormris, hiraditya.
Herald added a project: LLVM.
alok requested review of this revision.
This patch adds support for DWARF attribute DW_AT_rank.
Summary:
Fortran assumed rank arrays have dynamic rank. DWARF attribute
DW_AT_rank is needed to support that.
Testing:
unit test cases added (hand-written)
check llvm
check debug-info
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D89141
Files:
llvm/docs/LangRef.rst
llvm/include/llvm/IR/DebugInfoMetadata.h
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/Bitcode/Reader/MetadataLoader.cpp
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/lib/IR/AsmWriter.cpp
llvm/lib/IR/DebugInfoMetadata.cpp
llvm/lib/IR/LLVMContextImpl.h
llvm/lib/IR/Verifier.cpp
llvm/test/Bitcode/rankConst.ll
llvm/test/Bitcode/rankExp.ll
llvm/test/DebugInfo/X86/dwarfdump-rankConst.ll
llvm/test/DebugInfo/X86/dwarfdump-rankExp.ll
llvm/test/Verifier/array_rank.ll
llvm/unittests/IR/DebugTypeODRUniquingTest.cpp
llvm/unittests/IR/MetadataTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89141.297261.patch
Type: text/x-patch
Size: 49648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201009/f183fcce/attachment.bin>
More information about the llvm-commits
mailing list