1345153Sdim# exports_so.txt #
2345153Sdim
3345153Sdim#
4345153Sdim#//===----------------------------------------------------------------------===//
5345153Sdim#//
6353358Sdim#// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
7353358Sdim#// See https://llvm.org/LICENSE.txt for license information.
8353358Sdim#// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
9345153Sdim#//
10345153Sdim#//===----------------------------------------------------------------------===//
11345153Sdim#
12345153Sdim
13345153Sdim# This is version script for OMP RTL shared library (libomp*.so)
14345153Sdim
15345153SdimVERSION {
16345153Sdim
17345153Sdim    global: # Exported symbols.
18345153Sdim
19345153Sdim        #
20345153Sdim        # "Normal" symbols.
21345153Sdim        #
22345153Sdim        omp_*;     # Standard OpenMP functions.
23345153Sdim        OMP_*;     # Standard OpenMP symbols.
24345153Sdim
25345153Sdim        #
26345153Sdim        # OMPT API
27345153Sdim        #
28345153Sdim        ompt_start_tool;     # OMPT start interface
29345153Sdim
30345153Sdim        # icc drops weak attribute at linking step without the following line:
31345153Sdim        Annotate*;           # TSAN annotation
32345153Sdim
33345153Sdim        ompc_*;    # omp.h renames some standard functions to ompc_*.
34345153Sdim        kmp_*;     # Intel extensions.
35345153Sdim        kmpc_*;    # Intel extensions.
36345153Sdim        __kmpc_*;  # Functions called by compiler-generated code.
37345153Sdim        GOMP_*;    # GNU C compatibility functions.
38345153Sdim
39345153Sdim        _You_must_link_with_*;     # Mutual detection/MS compatibility symbols.
40345153Sdim
41345153Sdim        #
42345153Sdim        # Debugger support.
43345153Sdim        #
44345153Sdim#if USE_DEBUGGER
45345153Sdim        __kmp_debugging;
46345153Sdim        __kmp_omp_debug_struct_info;
47345153Sdim#endif /* USE_DEBUGGER */
48345153Sdim
49345153Sdim        #
50345153Sdim        # Internal functions exported for testing purposes.
51345153Sdim        #
52345153Sdim        __kmp_get_reduce_method;
53345153Sdim        ___kmp_allocate;
54345153Sdim        ___kmp_free;
55345153Sdim        __kmp_thread_pool;
56345153Sdim
57345153Sdim	__kmp_reset_stats;
58345153Sdim
59345153Sdim#if USE_ITT_BUILD
60345153Sdim        #
61345153Sdim        # ITT support.
62345153Sdim        #
63345153Sdim        # The following entry points are added so that the backtraces from
64345153Sdim        # the tools contain meaningful names for all the functions that might
65345153Sdim        # appear in a backtrace of a thread which is blocked in the RTL.
66345153Sdim        __kmp_acquire_drdpa_lock;
67345153Sdim        __kmp_acquire_nested_drdpa_lock;
68345153Sdim        __kmp_acquire_nested_queuing_lock;
69345153Sdim        __kmp_acquire_nested_tas_lock;
70345153Sdim        __kmp_acquire_nested_ticket_lock;
71345153Sdim        __kmp_acquire_queuing_lock;
72345153Sdim        __kmp_acquire_tas_lock;
73345153Sdim        __kmp_acquire_ticket_lock;
74345153Sdim        __kmp_fork_call;
75345153Sdim        __kmp_invoke_microtask;
76345153Sdim#if KMP_USE_MONITOR
77345153Sdim        __kmp_launch_monitor;
78345153Sdim        __kmp_reap_monitor;
79345153Sdim#endif
80345153Sdim        __kmp_launch_worker;
81345153Sdim        __kmp_reap_worker;
82345153Sdim        __kmp_release_64;
83345153Sdim        __kmp_wait_64;
84353358Sdim        __kmp_wait_4;
85345153Sdim
86345153Sdim        # ittnotify symbols to be used by debugger
87345153Sdim        __kmp_itt_fini_ittlib;
88345153Sdim        __kmp_itt_init_ittlib;
89345153Sdim#endif /* USE_ITT_BUILD */
90345153Sdim
91345153Sdim    local: # Non-exported symbols.
92345153Sdim
93345153Sdim        *;         # All other symbols are not exported.
94345153Sdim
95345153Sdim}; # VERSION
96345153Sdim
97345153Sdim# sets up GCC OMP_ version dependency chain
98345153SdimOMP_1.0 {
99345153Sdim};
100345153SdimOMP_2.0 {
101345153Sdim} OMP_1.0;
102345153SdimOMP_3.0 {
103345153Sdim} OMP_2.0;
104345153SdimOMP_3.1 {
105345153Sdim} OMP_3.0;
106345153SdimOMP_4.0 {
107345153Sdim} OMP_3.1;
108345153SdimOMP_4.5 {
109345153Sdim} OMP_4.0;
110345153Sdim
111345153Sdim# sets up GCC GOMP_ version dependency chain
112345153SdimGOMP_1.0 {
113345153Sdim};
114345153SdimGOMP_2.0 {
115345153Sdim} GOMP_1.0;
116345153SdimGOMP_3.0 {
117345153Sdim} GOMP_2.0;
118345153SdimGOMP_4.0 {
119345153Sdim} GOMP_3.0;
120345153SdimGOMP_4.5 {
121345153Sdim} GOMP_4.0;
122345153Sdim
123345153Sdim# end of file #
124