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