[clang] [llvm] [Libomptarget] Statically link all plugin runtimes (PR #87009)

via llvm-commits llvm-commits at lists.llvm.org
Mon May 6 14:28:06 PDT 2024


dhruvachak wrote:

There are duplicate definitions of the following
``
bool llvm::omp::target::ompt::Initialized = false;

ompt_get_callback_t llvm::omp::target::ompt::lookupCallbackByCode = nullptr;
ompt_function_lookup_t llvm::omp::target::ompt::lookupCallbackByName = nullptr;
``
in src/OpenMP/OMPT/Callback.cpp and plugins-nextgen/common/OMPT/OmptCallback.cpp

Can you remove the ones in the plugin? Otherwise, it's not clear which definition is being used.


https://github.com/llvm/llvm-project/pull/87009


More information about the llvm-commits mailing list