This is an archive of the discontinued LLVM Phabricator instance.

[mlir][llvm] Make DISubprogram name optional
ClosedPublic

Authored by Dinistro on Mar 1 2023, 1:55 AM.

Details

Summary

This commit make the name parameter of the DISubprogramAttr optional.
LLVM will for example omit these subprogram names in initialization
functions for globals.

Diff Detail

Event Timeline

Dinistro created this revision.Mar 1 2023, 1:55 AM
Herald added a project: Restricted Project. · View Herald Transcript
Dinistro requested review of this revision.Mar 1 2023, 1:55 AM
gysit accepted this revision.Mar 1 2023, 1:57 AM

LGTM!

This revision is now accepted and ready to land.Mar 1 2023, 1:57 AM
This revision was automatically updated to reflect the committed changes.