search for: vcallvisibilitylinkageunit

Displaying 1 result from an estimated 1 matches for "vcallvisibilitylinkageunit".

2019 Dec 11
5
RFC: Safe Whole Program Devirtualization Enablement
...he purposes of index-only WPD, a single-bit flag indicating whether or not the vtable def has hidden LTO visibility is added to the GVarFlags on the GlobalVarSummary. Note that we can collapse the 3 enum values of the metadata down to a single bit, because for the purposes of devirtualization, both VCallVisibilityLinkageUnit and VCallVisibilityTranslationUnit can be treated the same (we only need to have at least VCallVisibilityLinkageUnit to devirtualize). The ModuleSummaryIndex builder will set this new flag from the !vcall_visibility metadata on vtable definitions. Finally, the VFE support in GlobalDCE (which is en...