[all-commits] [llvm/llvm-project] 96bd4d: [DebugInfo] Support for DWARF attribute DW_AT_rank

Alok Kumar Sharma via All-commits all-commits at lists.llvm.org
Sat Oct 10 05:43:19 PDT 2020


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

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/lib/IR/LLVMContextImpl.h
    M llvm/lib/IR/Verifier.cpp
    A llvm/test/Bitcode/rankConst.ll
    A llvm/test/Bitcode/rankExp.ll
    A llvm/test/DebugInfo/X86/dwarfdump-rankConst.ll
    A llvm/test/DebugInfo/X86/dwarfdump-rankExp.ll
    A llvm/test/Verifier/array_rank.ll
    M llvm/unittests/IR/DebugTypeODRUniquingTest.cpp
    M llvm/unittests/IR/MetadataTest.cpp

  Log Message:
  -----------
  [DebugInfo] Support for DWARF attribute DW_AT_rank

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

Reviewed By: aprantl

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




More information about the All-commits mailing list