HomePhabricator

[ORC] Replace LLJIT::defineAbsolute with an LLJIT::define convenience method.

Authored by lhames on Apr 17 2020, 9:19 PM.

Description

[ORC] Replace LLJIT::defineAbsolute with an LLJIT::define convenience method.

LLJIT::defineAbsolute did not mangle its Name argument, which is inconsistent
with the behavior of other LLJIT methods (e.g. lookup). Since it is currently
unused anyway, this commit replaces it with a generic 'define' convenience
method for adding MaterializationUnits to the main JITDylib. This simplifies
use of the generic absoluteSymbols function (as well as the symbolAlias,
reexports and other functions that generate MaterializationUnits) with LLJIT.

Details

Committed
lhamesApr 18 2020, 2:16 PM
Parents
rG8e0c5f720058: [LV] Mark first-order recurrences as allowed exits
Branches
Unknown
Tags
Unknown