[all-commits] [llvm/llvm-project] 9cffb2: [LLJIT] Allow multiple loadPlatformDynamicLibrary ...
lhames via All-commits
all-commits at lists.llvm.org
Sun Mar 26 21:33:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9cffb2f74114a870024ca6c9e675bdf0e2a6d0fb
https://github.com/llvm/llvm-project/commit/9cffb2f74114a870024ca6c9e675bdf0e2a6d0fb
Author: Lang Hames <lhames at gmail.com>
Date: 2023-03-26 (Sun, 26 Mar 2023)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
Log Message:
-----------
[LLJIT] Allow multiple loadPlatformDynamicLibrary calls with the same path.
Where the same dylib is loaded more than once we should just return the
JITDylib created by the first call rather than error out. This matches the
behavior of dlopen / LoadLibrary.
More information about the All-commits
mailing list