[Openmp-commits] [PATCH] D138002: [OpenMP][libomptarget] Build plugins-nextgen/common/PluginInterface with protected visibility
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Sat Dec 3 19:31:33 PST 2022
tianshilei1992 added a comment.
In D138002#3969003 <https://reviews.llvm.org/D138002#3969003>, @jhuber6 wrote:
> In D138002#3969000 <https://reviews.llvm.org/D138002#3969000>, @tianshilei1992 wrote:
>
>> Currently I'm still encountering the issue that, the function call to `__tgt_rtl_is_valid_binary` in `__tgt_rtl_is_valid_binary_info` jumps to another plugin.
>
> Can you check if that symbol is actually protected in the `.so` you're using?
They are not protected.
➜ readelf -s /home/ac.shilei.tian/Documents/build/openmp/debug/lib/libomptarget.rtl.x86_64.nextgen.so | rg is_va
77783: 000000000046b7b0 472 FUNC GLOBAL DEFAULT 12 __tgt_rtl_is_val[...]
77866: 000000000046b710 157 FUNC GLOBAL DEFAULT 12 __tgt_rtl_is_val[...]
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138002/new/
https://reviews.llvm.org/D138002
More information about the Openmp-commits
mailing list