[OpenMP][libomp] Implement KMP_DLSYM_NEXT on Windows
authorHansang Bae <hansang.bae@intel.com>
Thu, 4 May 2023 16:06:12 +0000 (11:06 -0500)
committerHansang Bae <hansang.bae@intel.com>
Wed, 24 May 2023 13:33:34 +0000 (08:33 -0500)
commit2f6eba7516b267bf3bbfee840fd61f7fb8cde1c3
treea80909e4f1b0adfa3b58102a1d57b5d4c680ce17
parent32ffc55551feda4cf3eeec5740af5c5f386e584c
[OpenMP][libomp] Implement KMP_DLSYM_NEXT on Windows

The interop API routines try to invoke external entries, but we did
not have support for KMP_DLSYM_NEXT on Windows. Also added proper
guards for STUB build.

Differential Revision: https://reviews.llvm.org/D149892
openmp/runtime/src/kmp_ftn_entry.h
openmp/runtime/src/kmp_os.h
openmp/runtime/src/z_Windows_NT_util.cpp