[all-commits] [llvm/llvm-project] 9eb493: [ORC] Allow JITDylib::getDFSLinkOrder and friends ...
lhames via All-commits
all-commits at lists.llvm.org
Wed Jan 19 22:51:57 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9eb4939b862a2c0ab6690c3e8526366594722010
https://github.com/llvm/llvm-project/commit/9eb4939b862a2c0ab6690c3e8526366594722010
Author: Lang Hames <lhames at gmail.com>
Date: 2022-01-20 (Thu, 20 Jan 2022)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/Core.h
M llvm/lib/ExecutionEngine/Orc/Core.cpp
M llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp
M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
M llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
Log Message:
-----------
[ORC] Allow JITDylib::getDFSLinkOrder and friends to fail for defunct JITDylibs.
Calls to JITDylib's getDFSLinkOrder and getReverseDFSLinkOrder methods (both
static an non-static versions) are now valid to make on defunct JITDylibs, but
will return an error if any JITDylib in the link order is defunct.
This means that platforms can safely lookup link orders by name in response to
jit-dlopen calls from the ORC runtime, even if the call names a defunct
JITDylib -- the call will just fail with an error.
More information about the All-commits
mailing list