4 #//===----------------------------------------------------------------------===//
6 #// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
7 #// See https://llvm.org/LICENSE.txt for license information.
8 #// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
10 #//===----------------------------------------------------------------------===//
13 # This is version script for OMP RTL shared library (libomp*.so)
17 global: # Exported symbols.
22 omp_*; # Standard OpenMP functions.
23 OMP_*; # Standard OpenMP symbols.
28 ompt_start_tool; # OMPT start interface
30 # icc drops weak attribute at linking step without the following line:
31 Annotate*; # TSAN annotation
33 ompc_*; # omp.h renames some standard functions to ompc_*.
34 kmp_*; # Intel extensions.
35 kmpc_*; # Intel extensions.
36 __kmpc_*; # Functions called by compiler-generated code.
37 GOMP_*; # GNU C compatibility functions.
39 _You_must_link_with_*; # Mutual detection/MS compatibility symbols.
46 __kmp_omp_debug_struct_info;
47 #endif /* USE_DEBUGGER */
50 # Internal functions exported for testing purposes.
52 __kmp_get_reduce_method;
63 # The following entry points are added so that the backtraces from
64 # the tools contain meaningful names for all the functions that might
65 # appear in a backtrace of a thread which is blocked in the RTL.
66 __kmp_acquire_drdpa_lock;
67 __kmp_acquire_nested_drdpa_lock;
68 __kmp_acquire_nested_queuing_lock;
69 __kmp_acquire_nested_tas_lock;
70 __kmp_acquire_nested_ticket_lock;
71 __kmp_acquire_queuing_lock;
72 __kmp_acquire_tas_lock;
73 __kmp_acquire_ticket_lock;
75 __kmp_invoke_microtask;
86 # ittnotify symbols to be used by debugger
87 __kmp_itt_fini_ittlib;
88 __kmp_itt_init_ittlib;
89 #endif /* USE_ITT_BUILD */
91 local: # Non-exported symbols.
93 *; # All other symbols are not exported.
97 # sets up GCC OMP_ version dependency chain
111 # sets up GCC GOMP_ version dependency chain