[PATCH] D90323: [DebugInfo] Expose Fortran array debug info attributes through DIBuilder.

Chih-Ping Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 28 11:07:05 PDT 2020


cchen15 created this revision.
cchen15 added reviewers: aprantl, SouraVX, alok.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a reviewer: dexonsmith.
Herald added a project: LLVM.
cchen15 requested review of this revision.

The support of a few debug info attributes specifically for Fortran arrays have been added to LLVM recently, but there's no way to take advantage of them through DIBuilder. This patch extends DIBuilder::createArrayType to enable the settings of those attributes.

This is an update to D89817 <https://reviews.llvm.org/D89817>, with a fix to the memory leak identified by the sanitzer buildbots.


https://reviews.llvm.org/D90323

Files:
  llvm/include/llvm/IR/DIBuilder.h
  llvm/lib/IR/DIBuilder.cpp
  llvm/unittests/IR/DebugInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90323.301343.patch
Type: text/x-patch
Size: 5777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201028/7c119924/attachment.bin>


More information about the llvm-commits mailing list