This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo] Expose Fortran array debug info attributes through DIBuilder.
ClosedPublic

Authored by cchen15 on Oct 28 2020, 11:07 AM.

Details

Summary

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, with a fix to the memory leak identified by the sanitzer buildbots.

Diff Detail

Event Timeline

cchen15 created this revision.Oct 28 2020, 11:07 AM
Herald added a project: Restricted Project. · View Herald Transcript
cchen15 requested review of this revision.Oct 28 2020, 11:07 AM
This comment was removed by cchen15.

Duncan, did you intentionally add yourself as a blocking reviewer or is this perhaps a misconfigured Herald rule?

  • adrian
dexonsmith resigned from this revision.Oct 28 2020, 12:27 PM

Duncan, did you intentionally add yourself as a blocking reviewer or is this perhaps a misconfigured Herald rule?

  • adrian

Definitely misconfigured, I was intending to add myself as a subscriber (fixed the rule). Please add me as a reviewer if you'd like my review!

cchen15 added inline comments.Oct 28 2020, 1:32 PM
llvm/unittests/IR/DebugInfoTest.cpp
228

This is the only difference from the original review D89817.

This revision is now accepted and ready to land.Oct 28 2020, 2:02 PM