Page MenuHomePhabricator

[flang] Implement derived type description table encoding
ClosedPublic

Authored by klausler on Dec 7 2020, 4:57 PM.

Details

Summary

Define Fortran derived types that describe the characteristics
of derived types, and instantiations of parameterized derived
types, that are of relevance to the runtime language support
library. Define a suite of corresponding C++ structure types
for the runtime library to use to interpret instances of the
descriptions.

Create instances of these description types in Semantics as
static initializers for compiler-created objects in the scopes
that define or instantiate user derived types.

Delete obsolete code from earlier attempts to package runtime
type information.

Diff Detail

Event Timeline

klausler created this revision.Dec 7 2020, 4:57 PM
klausler requested review of this revision.Dec 7 2020, 4:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 7 2020, 4:57 PM
jeanPerier accepted this revision.Dec 8 2020, 9:26 AM
jeanPerier added inline comments.
flang/test/Semantics/typeinfo01.f90
5

This test is a nice illustration of what is happening, thanks for adding it.

This revision is now accepted and ready to land.Dec 8 2020, 9:26 AM
This revision was landed with ongoing or failed builds.Dec 8 2020, 10:27 AM
This revision was automatically updated to reflect the committed changes.