[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.
parent
8e0c5f72
Please register or sign in to comment