HomePhabricator

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

Authored by aprantl on Oct 26 2020, 4:09 PM.

Description

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

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.

Patch by Chih-Ping Chen!

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