Systems and methods for uniquely defining Fortran run time type descriptors for polymorphic entities
Abstract
Systems and methods disclosed herein uniquely define each type of Fortran type descriptor within an executable file or shared library to allow for a rapid determination of how the dynamic type of one object (e.g., a first polymorphic entity) relates to that of another object (e.g., a second polymorphic entity) while allowing for the lazy loading of shared libraries. In one aspect, type descriptor definitions are instantiated (e.g., during compile-time) in each object file in which polymorphic entities are defined, each type descriptor definition is marked with a singleton attribute, and each group of common type descriptor definitions is associated with a COMDAT group to ensure that only a single copy of each type descriptor is defined in a corresponding executable file at a particular address in memory to which polymorphic entities can reference. Type descriptor addresses can be compared to determine dynamic type relations between polymorphic entities.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method, comprising: generating a plurality of object files from a plurality of source code portions, wherein at least one of the source code portions comprises at least one variable, and wherein the generating comprises: instantiating Fortran type descriptor definitions of the at least one variable in each of the object files; marking each type descriptor definition with a singleton attribute; and associating common type descriptor definitions across the object files with common COMDAT groups; performing a folding operation of the type descriptor definitions in common CO
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (1)
- Tallam, Sriraman, et al., "Safe ICF: Pointer Safe and Unwinding aware Identical Code Folding in the Gold Linker", 2010, Proceedings of the 2010 GCC Summit, 107-114.