This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix potential null scope when lowering dispatch table op
ClosedPublic

Authored by clementval on Feb 2 2023, 7:39 AM.

Details

Summary

Similary to D140209, the scope might need to be retrieved
from the typeSymbol. The test code was crashing because the
scope passed to CollectBindings was initially null.

Diff Detail

Event Timeline

clementval created this revision.Feb 2 2023, 7:39 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 2 2023, 7:39 AM
clementval requested review of this revision.Feb 2 2023, 7:39 AM
jeanPerier accepted this revision.Feb 3 2023, 1:03 AM
This revision is now accepted and ready to land.Feb 3 2023, 1:03 AM