llvm::updateVCallVisibilityInIndex

Update virtual-call visibility in the module summary index.

Synopsis

Declared in <llvm/Transforms/IPO/WholeProgramDevirt.h>

void
updateVCallVisibilityInIndex(
    ModuleSummaryIndex& Index,
    bool WholeProgramVisibilityEnabledInLTO,
    DenseSet<GlobalValue::GUID> const& DynamicExportSymbols,
    DenseSet<GlobalValue::GUID> const& VisibleToRegularObjSymbols);

Parameters

NameDescription
IndexModule summary index whose vtable visibility is updated.
WholeProgramVisibilityEnabledInLTOWhether LTO enabled whole-program visibility.
DynamicExportSymbolsGUIDs of symbols that may be exported dynamically.
VisibleToRegularObjSymbolsGUIDs of vtables visible to regular object files.