[all-commits] [llvm/llvm-project] f9bce1: [mlir][async] Mark exported symbols of runtime lib...
Ingo Müller via All-commits
all-commits at lists.llvm.org
Tue Jun 20 12:28:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f9bce19e2e2be09768260d2a297d933f46bc3efd
https://github.com/llvm/llvm-project/commit/f9bce19e2e2be09768260d2a297d933f46bc3efd
Author: Ingo Müller <ingomueller at google.com>
Date: 2023-06-20 (Tue, 20 Jun 2023)
Changed paths:
M mlir/include/mlir/ExecutionEngine/AsyncRuntime.h
M mlir/lib/ExecutionEngine/AsyncRuntime.cpp
Log Message:
-----------
[mlir][async] Mark exported symbols of runtime lib as visible.
The async runtime library explicitly registers the symbols it exports
with the loading mechanism of the execution engine. This even works even
though these symbols were marked as hidden in the library. However, if
used outside the execution engine, such as with `lli --dlopen` or if AOT
compiled, these hidden symbols would not be found. This patch thus marks
all symbols that are part of the API as visible.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D153348
More information about the All-commits
mailing list