This is an archive of the discontinued LLVM Phabricator instance.

[mlir][LLVM] Add support for DIModule metadata
ClosedPublic

Authored by Dinistro on Aug 3 2023, 12:17 AM.

Details

Summary

This commit adds a DIModuleAttr to the set of debug info attributes and
extends the LLVM IR import and export to support it.

DIModule metadata is missing in the LLVM LangRef and cannot be produced
from C or C++ input. So far, we only observed classic flang producing
such DI metadata.

Diff Detail

Event Timeline

Dinistro created this revision.Aug 3 2023, 12:17 AM
Herald added a reviewer: dcaballe. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Dinistro requested review of this revision.Aug 3 2023, 12:17 AM
Dinistro updated this revision to Diff 546733.Aug 3 2023, 12:42 AM

add missing isDecl parameter

This revision is now accepted and ready to land.Aug 3 2023, 12:45 AM
This revision was landed with ongoing or failed builds.Aug 3 2023, 12:49 AM
This revision was automatically updated to reflect the committed changes.