[all-commits] [llvm/llvm-project] 1fc986: [mlir:JitRunner] Use custom shared library init/de...
Eugene Zhulenev via All-commits
all-commits at lists.llvm.org
Fri Jan 8 13:16:28 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1fc986427ba32384a03286472d3c04b37420ad73
https://github.com/llvm/llvm-project/commit/1fc986427ba32384a03286472d3c04b37420ad73
Author: Eugene Zhulenev <ezhulenev at google.com>
Date: 2021-01-08 (Fri, 08 Jan 2021)
Changed paths:
M mlir/lib/ExecutionEngine/AsyncRuntime.cpp
M mlir/lib/ExecutionEngine/CMakeLists.txt
M mlir/lib/ExecutionEngine/JitRunner.cpp
Log Message:
-----------
[mlir:JitRunner] Use custom shared library init/destroy functions if available
Use custom mlir runner init/destroy functions to safely init and destroy shared libraries loaded by the JitRunner.
This mechanism is ignored for Windows builds (for now) because init/destroy functions are not exported, and library unloading relies on static destructors.
Re-submit https://reviews.llvm.org/D94270 with a temporary workaround for windows
Differential Revision: https://reviews.llvm.org/D94312
More information about the All-commits
mailing list