[ORC] Add Platform::teardownJITDylib method.
authorLang Hames <lhames@gmail.com>
Tue, 18 Jan 2022 04:58:45 +0000 (15:58 +1100)
committerLang Hames <lhames@gmail.com>
Tue, 18 Jan 2022 05:27:02 +0000 (16:27 +1100)
commitade71641dcf6fc2c457e318634f0bcff8f8feee1
treeba5e3d3512eafc71ff0a98f2891fb708e080f7ff
parentec9cb3a79cd648a731cd9033447123c216da5297
[ORC] Add Platform::teardownJITDylib method.

This is a counterpart to Platform::setupJITDylib, and is called when JITDylib
instances are removed (via ExecutionSession::removeJITDylib).

Upcoming MachOPlatform patches will use this to clear per-JITDylib data when
JITDylibs are removed.
llvm/include/llvm/ExecutionEngine/Orc/Core.h
llvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h
llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
llvm/lib/ExecutionEngine/Orc/Core.cpp
llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp
llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp