[all-commits] [llvm/llvm-project] c6ade3: [ORC] Replace LLJIT::defineAbsolute with an LLJIT:...
lhames via All-commits
all-commits at lists.llvm.org
Sat Apr 18 15:18:55 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c6ade39ba083b92faf93fee42272f07749d4041a
https://github.com/llvm/llvm-project/commit/c6ade39ba083b92faf93fee42272f07749d4041a
Author: Lang Hames <lhames at gmail.com>
Date: 2020-04-18 (Sat, 18 Apr 2020)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
Log Message:
-----------
[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.
Commit: 702b3f01ddb8bcda86e0a5354b8bfba2e3c586bd
https://github.com/llvm/llvm-project/commit/702b3f01ddb8bcda86e0a5354b8bfba2e3c586bd
Author: Lang Hames <lhames at gmail.com>
Date: 2020-04-18 (Sat, 18 Apr 2020)
Changed paths:
M llvm/include/llvm/ExecutionEngine/JITSymbol.h
Log Message:
-----------
[ORC] Add a convenience method to create a JITEvaluatedSymbol from a pointer.
This can be used to reduce boilerplate code, especially when defining absolute
symbols.
Commit: a7a03d647f19fac7978f25c5f5aaeaf1013b1614
https://github.com/llvm/llvm-project/commit/a7a03d647f19fac7978f25c5f5aaeaf1013b1614
Author: Lang Hames <lhames at gmail.com>
Date: 2020-04-18 (Sat, 18 Apr 2020)
Changed paths:
M llvm/examples/OrcV2Examples/CMakeLists.txt
A llvm/examples/OrcV2Examples/LLJITWithInitializers/CMakeLists.txt
A llvm/examples/OrcV2Examples/LLJITWithInitializers/LLJITWithInitializers.cpp
Log Message:
-----------
[ORC] Add example showing how to initialize/deinitialize a JITDylib with LLJIT.
Compare: https://github.com/llvm/llvm-project/compare/8e0c5f720058...a7a03d647f19
More information about the All-commits
mailing list