HomePhabricator

[DebugInfo] Fortran module DebugInfo support in LLVM

Authored by SouraVX on May 7 2020, 11:01 PM.

Description

[DebugInfo] Fortran module DebugInfo support in LLVM

This patch extends DIModule Debug metadata in LLVM to support
Fortran modules. DIModule is extended to contain File and Line
fields, these fields will be used by Flang FE to create debug
information necessary for representing Fortran modules at IR level.

Furthermore DW_TAG_module is also extended to contain these fields.
If these fields are missing, debuggers like GDB won't be able to
show Fortran modules information correctly.

Reviewed By: aprantl

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

Details

Committed
SouraVXMay 13 2020, 12:22 AM
Reviewer
aprantl
Differential Revision
D79484: [DebugInfo] Fortran module DebugInfo support in LLVM
Parents
rGeef95f2746c3: [BrachProbablityInfo] Set edge probabilities at once. NFC.
Branches
Unknown
Tags
Unknown