1# exports_so.txt #
2
3#
4#//===----------------------------------------------------------------------===//
5#//
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
9#//
10#//===----------------------------------------------------------------------===//
11#
12
13# This is version script for OMP RTL shared library (libomp*.so)
14
15VERSION {
16
17    global: # Exported symbols.
18
19        #
20        # "Normal" symbols.
21        #
22        omp_*;     # Standard OpenMP functions.
23        OMP_*;     # Standard OpenMP symbols.
24
25        #
26        # OMPT API
27        #
28        ompt_start_tool;     # OMPT start interface
29
30        ompc_*;    # omp.h renames some standard functions to ompc_*.
31        kmp_*;     # Intel extensions.
32        kmpc_*;    # Intel extensions.
33        __kmpc_*;  # Functions called by compiler-generated code.
34        GOMP_*;    # GNU C compatibility functions.
35
36        _You_must_link_with_*;     # Mutual detection/MS compatibility symbols.
37
38        #
39        # Debugger support.
40        #
41#if USE_DEBUGGER
42        __kmp_debugging;
43        __kmp_omp_debug_struct_info;
44#endif /* USE_DEBUGGER */
45
46        #
47        # Internal functions exported for testing purposes.
48        #
49        __kmp_get_reduce_method;
50        ___kmp_allocate;
51        ___kmp_free;
52        __kmp_thread_pool;
53
54	__kmp_reset_stats;
55
56#if USE_ITT_BUILD
57        #
58        # ITT support.
59        #
60        # The following entry points are added so that the backtraces from
61        # the tools contain meaningful names for all the functions that might
62        # appear in a backtrace of a thread which is blocked in the RTL.
63        __kmp_acquire_drdpa_lock;
64        __kmp_acquire_nested_drdpa_lock;
65        __kmp_acquire_nested_queuing_lock;
66        __kmp_acquire_nested_tas_lock;
67        __kmp_acquire_nested_ticket_lock;
68        __kmp_acquire_queuing_lock;
69        __kmp_acquire_tas_lock;
70        __kmp_acquire_ticket_lock;
71        __kmp_fork_call;
72        __kmp_invoke_microtask;
73#if KMP_USE_MONITOR
74        __kmp_launch_monitor;
75        __kmp_reap_monitor;
76#endif
77        __kmp_launch_worker;
78        __kmp_reap_worker;
79        __kmp_release_64;
80        __kmp_wait_64;
81        __kmp_wait_4;
82
83        # ittnotify symbols to be used by debugger
84        __kmp_itt_fini_ittlib;
85        __kmp_itt_init_ittlib;
86#endif /* USE_ITT_BUILD */
87
88    local: # Non-exported symbols.
89
90        *;         # All other symbols are not exported.
91
92}; # VERSION
93
94# sets up GCC OMP_ version dependency chain
95OMP_1.0 {
96};
97OMP_2.0 {
98} OMP_1.0;
99OMP_3.0 {
100} OMP_2.0;
101OMP_3.1 {
102} OMP_3.0;
103OMP_4.0 {
104} OMP_3.1;
105OMP_4.5 {
106} OMP_4.0;
107OMP_5.0 {
108} OMP_4.5;
109
110# sets up GCC GOMP_ version dependency chain
111GOMP_1.0 {
112};
113GOMP_2.0 {
114} GOMP_1.0;
115GOMP_3.0 {
116} GOMP_2.0;
117GOMP_4.0 {
118} GOMP_3.0;
119GOMP_4.5 {
120} GOMP_4.0;
121GOMP_5.0 {
122} GOMP_4.5;
123GOMP_5.0.1 {
124} GOMP_5.0;
125
126# end of file #
127