[PATCH] D79592: [DebugInfo] support for DW_AT_data_location in llvm
Alok Kumar Sharma via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 7 11:20:32 PDT 2020
alok created this revision.
alok added projects: debug-info, LLVM.
Herald added subscribers: llvm-commits, ormris, hiraditya, aprantl.
Herald added a reviewer: sscalpone.
alok edited reviewers, added: aprantl, probinson, dblaikie, jmorse, vsk, dstenb, jini.susan.george, SouraVX; removed: sscalpone.
Herald added a reviewer: sscalpone.
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
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D79592
Files:
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/test/Bitcode/dataLocation.ll
llvm/test/DebugInfo/dwarfdump-dataLocationExp.ll
llvm/test/DebugInfo/dwarfdump-dataLocationVar.ll
llvm/unittests/IR/DebugTypeODRUniquingTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79592.262698.patch
Type: text/x-patch
Size: 45764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200507/4fe3c1e3/attachment-0001.bin>
More information about the llvm-commits
mailing list