[Openmp-commits] [PATCH] D102043: [libomptarget] Look for plugins next to libomptarget.so

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Aug 26 10:45:11 PDT 2021


jdoerfert added inline comments.


================
Comment at: openmp/libomptarget/src/rtl.cpp:107
+                              ? nullptr
+                              : dlopen(AdjacentPluginName.c_str(), RTLD_NOW);
 
----------------
This doesn't make sense now as it will fail to load plugins if we failed to determine the path, it also fails to prefer plugins on the user path. Or am I reading this wrong?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102043/new/

https://reviews.llvm.org/D102043



More information about the Openmp-commits mailing list