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
Paths
| Differential D89141
[DebugInfo] Support for DWARF attribute DW_AT_rank ClosedPublic Authored by alok on Oct 9 2020, 9:40 AM.
Details Summary This patch adds support for DWARF attribute DW_AT_rank. Summary: Fortran assumed rank arrays have dynamic rank. DWARF attribute Testing: unit test cases added (hand-written)
Diff Detail
Event TimelineComment Actions This looks reasonable. At some point we are crossing over the threshold where we should split out a DI(Fortran?)Array subclass so we don't have to pay for all the extra fields in every type. This revision is now accepted and ready to land.Oct 9 2020, 12:54 PM Closed by commit rG96bd4d34a220: [DebugInfo] Support for DWARF attribute DW_AT_rank (authored by alok). · Explain WhyOct 10 2020, 5:43 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 297261 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
|