[all-commits] [llvm/llvm-project] 4042ad: [DebugInfo] support for DW_AT_data_location in llvm

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


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4042ada1c1fe4a9cd546600602281686bb2270cd
      https://github.com/llvm/llvm-project/commit/4042ada1c1fe4a9cd546600602281686bb2270cd
  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/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/DwarfCompileUnit.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/dataLocation.ll
    A llvm/test/DebugInfo/dwarfdump-dataLocationExp.ll
    A llvm/test/DebugInfo/dwarfdump-dataLocationVar.ll
    A llvm/test/Verifier/array_dataLocation.ll
    M llvm/unittests/IR/DebugTypeODRUniquingTest.cpp
    M llvm/unittests/IR/MetadataTest.cpp

  Log Message:
  -----------
  [DebugInfo] support for DW_AT_data_location in llvm

This patch adds support for DWARF attribute DW_AT_data_location.

Summary:
Dynamic arrays in fortran are described by array descriptor and
data allocation address. Former is mapped to DW_AT_location and
later is mapped to DW_AT_data_location.

Testing:
unit test cases added (hand-written)
check llvm
check debug-info

Reviewed By: aprantl

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




More information about the All-commits mailing list