[Openmp-commits] [openmp] 1515131 - [OpenMP] Add a missing dllexport for the new function __kmpc_fork_call_if

Martin Storsjö via Openmp-commits openmp-commits at lists.llvm.org
Wed Dec 14 04:20:29 PST 2022


Author: Martin Storsjö
Date: 2022-12-14T14:19:10+02:00
New Revision: 15151315f76b0840423bd3bd62c5f9fc647d31c6

URL: https://github.com/llvm/llvm-project/commit/15151315f76b0840423bd3bd62c5f9fc647d31c6
DIFF: https://github.com/llvm/llvm-project/commit/15151315f76b0840423bd3bd62c5f9fc647d31c6.diff

LOG: [OpenMP] Add a missing dllexport for the new function __kmpc_fork_call_if

This new function was added in b72f1ec9fbb14cd7d2f5112d2c52ef5cdd1aa94a,
but wasn't exported from the DLL on Windows.

This fixes the parallel/omp_parallel_if.c OpenMP testcase on
Windows.

Added: 
    

Modified: 
    openmp/runtime/src/dllexports

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/src/dllexports b/openmp/runtime/src/dllexports
index 0699e75968410..ec3c6dcb5ea0d 100644
--- a/openmp/runtime/src/dllexports
+++ b/openmp/runtime/src/dllexports
@@ -228,6 +228,7 @@
     __kmpc_for_static_init_4                136
     __kmpc_for_static_init_8                137
     __kmpc_fork_call                        138
+    __kmpc_fork_call_if                     294
     __kmpc_global_num_threads               140
     __kmpc_global_thread_num                141
     __kmpc_in_parallel                      142


        


More information about the Openmp-commits mailing list