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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This is still part of my effort of making the handling of various runtime libraries consistent, see https://reviews.llvm.org/D153250.
Comment Actions
AOT compiled, these hidden symbols would not be found.
Just a nit but AOT compiled and statically linked: there wouldn't be any problem here.