HomePhabricator

[ORC] Introduce JITSymbolFlags::HasMaterializeSideEffectsOnly flag.

Authored by lhames on Mar 25 2020, 1:07 PM.

Description

[ORC] Introduce JITSymbolFlags::HasMaterializeSideEffectsOnly flag.

This flag can be used to mark a symbol as existing only for the purpose of
enabling materialization. Such a symbol can be looked up to trigger
materialization with the lookup returning only once materialization is
complete. Symbols with this flag will never resolve however (to avoid
permanently polluting the symbol table), and should only be looked up using
the SymbolLookupFlags::WeaklyReferencedSymbol flag. The primary use case for
this flag is initialization symbols.

Details

Committed
lhamesMar 27 2020, 11:02 AM
Parents
rGd38d06e6493f: [ORC] Don't create MaterializingInfo entries unnecessarily.
Branches
Unknown
Tags
Unknown