This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix use-associated procedure in generic
ClosedPublic

Authored by tskeith on Jan 14 2021, 9:04 AM.

Details

Summary

When a use-associated procedure was included in a generic, we weren't
correctly recording that fact. The ultimate symbol was added rather than
the local symbol.

Also, improve the message emitted for the specific procedure by
mentioning the module it came from.

This fixes one of the problems in https://bugs.llvm.org/show_bug.cgi?id=48648.

Diff Detail

Event Timeline

tskeith created this revision.Jan 14 2021, 9:04 AM
tskeith requested review of this revision.Jan 14 2021, 9:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 14 2021, 9:04 AM
PeteSteinfeld accepted this revision.Jan 14 2021, 10:24 AM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Jan 14 2021, 10:24 AM
This revision was automatically updated to reflect the committed changes.