]> CyberLeo.Net >> Repos - FreeBSD/releng/10.1.git/blob - lib/libcxxrt/Version.map
Remove empty sections.
[FreeBSD/releng/10.1.git] / lib / libcxxrt / Version.map
1 # $FreeBSD$
2 # Define the same version as the libsupc++ from gcc 4.2.1 so that we can use
3 # libcxxrt as a drop-in replacement.
4
5 CXXABI_1.3 {
6
7   global:
8
9     # ABI functions with C linkage
10     __cxa_allocate_exception;
11     __cxa_bad_cast;
12     __cxa_bad_typeid;
13     __cxa_begin_catch;
14     __cxa_begin_cleanup;
15     __cxa_call_unexpected;
16     __cxa_current_exception_type;
17     __cxa_demangle;
18     __cxa_end_catch;
19     __cxa_end_cleanup;
20     __cxa_free_exception;
21     __cxa_get_globals;
22     __cxa_get_globals_fast;
23     __cxa_guard_abort;
24     __cxa_guard_acquire;
25     __cxa_guard_release;
26     __cxa_pure_virtual;
27     __cxa_rethrow;
28     __cxa_throw;
29     __cxa_type_match;
30     __cxa_vec_cctor;
31     __cxa_vec_cleanup;
32     __cxa_vec_ctor;
33     __cxa_vec_delete2;
34     __cxa_vec_delete3;
35     __cxa_vec_delete;
36     __cxa_vec_dtor;
37     __cxa_vec_new2;
38     __cxa_vec_new3;
39     __cxa_vec_new;
40     __dynamic_cast;
41     __gxx_personality_sj0;
42     __gxx_personality_v0;
43
44     extern "C++" {
45         # Type info classes and their destructors
46         "__cxxabiv1::__array_type_info";
47         "__cxxabiv1::__array_type_info::~__array_type_info()";
48         "__cxxabiv1::__class_type_info";
49         "__cxxabiv1::__class_type_info::~__class_type_info()";
50         "__cxxabiv1::__enum_type_info";
51         "__cxxabiv1::__enum_type_info::~__enum_type_info()";
52         "__cxxabiv1::__function_type_info::";
53         "__cxxabiv1::__function_type_info::~__function_type_info()";
54         "__cxxabiv1::__fundamental_type_info";
55         "__cxxabiv1::__fundamental_type_info::~__fundamental_type_info()";
56         "__cxxabiv1::__pbase_type_info";
57         "__cxxabiv1::__pbase_type_info::~__pbase_type_info()";
58         "__cxxabiv1::__pointer_to_member_type_info";
59         "__cxxabiv1::__pointer_to_member_type_info::~__pointer_to_member_type_info()";
60         "__cxxabiv1::__pointer_type_info";
61         "__cxxabiv1::__pointer_type_info::~__pointer_type_info()";
62         "__cxxabiv1::__si_class_type_info";
63         "__cxxabiv1::__si_class_type_info::~__si_class_type_info()";
64         "__cxxabiv1::__vmi_class_type_info";
65         "__cxxabiv1::__vmi_class_type_info::~__vmi_class_type_info()";
66
67         # vtables typeinfo classes.
68         "vtable for __cxxabiv1::__array_type_info";
69         "vtable for __cxxabiv1::__class_type_info";
70         "vtable for __cxxabiv1::__enum_type_info";
71         "vtable for __cxxabiv1::__function_type_info";
72         "vtable for __cxxabiv1::__fundamental_type_info";
73         "vtable for __cxxabiv1::__pbase_type_info";
74         "vtable for __cxxabiv1::__pointer_to_member_type_info";
75         "vtable for __cxxabiv1::__pointer_type_info";
76         "vtable for __cxxabiv1::__si_class_type_info";
77         "vtable for __cxxabiv1::__vmi_class_type_info";
78
79         # Type info for built-in types
80         "typeinfo for bool const*";
81         "typeinfo for bool";
82         "typeinfo for char const*";
83         "typeinfo for char";
84         "typeinfo for double const*";
85         "typeinfo for double";
86         "typeinfo for float const*";
87         "typeinfo for float";
88         "typeinfo for int const*";
89         "typeinfo for int";
90         "typeinfo for long const*";
91         "typeinfo for long double const*";
92         "typeinfo for long double";
93         "typeinfo for long long const*";
94         "typeinfo for long long";
95         "typeinfo for long";
96         "typeinfo for short const*";
97         "typeinfo for short";
98         "typeinfo for signed char const*";
99         "typeinfo for signed char";
100         "typeinfo for unsigned char const*";
101         "typeinfo for unsigned char";
102         "typeinfo for unsigned int const*";
103         "typeinfo for unsigned int";
104         "typeinfo for unsigned long const*";
105         "typeinfo for unsigned long long const*";
106         "typeinfo for unsigned long long";
107         "typeinfo for unsigned long";
108         "typeinfo for unsigned short const*";
109         "typeinfo for unsigned short";
110         "typeinfo for void const*";
111         "typeinfo for void";
112         "typeinfo for wchar_t const*";
113         "typeinfo for wchar_t";
114         # C++11 typeinfo not understood by our linker
115         # std::nullptr_t
116         _ZTIDn;_ZTIPDn;_ZTIPKDn;
117         # char16_t
118         _ZTIDi;_ZTIPDi;_ZTIPKDi;
119         # char32_t
120         _ZTIDs;_ZTIPDs;_ZTIPKDs;
121         # IEEE 754r decimal floating point
122         _ZTIDd;_ZTIPDd;_ZTIPKDd;
123         _ZTIDe;_ZTIPDe;_ZTIPKDe;
124         _ZTIDf;_ZTIPDf;_ZTIPKDf;
125         # IEEE 754r half-precision floating point
126         _ZTIDh;_ZTIPDh;_ZTIPKDh;
127
128         "typeinfo for bool*";
129         "typeinfo for wchar_t*";
130         "typeinfo for short*";
131         "typeinfo for char*";
132         "typeinfo for unsigned char*";
133         "typeinfo for long long*";
134         "typeinfo for unsigned short*";
135         "typeinfo for long*";
136         "typeinfo for double*";
137         "typeinfo for unsigned long*";
138         "typeinfo for unsigned long long*";
139         "typeinfo for int*";
140         "typeinfo for long double*";
141         "typeinfo for signed char*";
142         "typeinfo for void*";
143         "typeinfo for unsigned int*";
144         "typeinfo for float*";
145
146         "typeinfo for __cxxabiv1::__array_type_info";
147         "typeinfo for __cxxabiv1::__class_type_info";
148         "typeinfo for __cxxabiv1::__enum_type_info";
149         "typeinfo for __cxxabiv1::__function_type_info";
150         "typeinfo for __cxxabiv1::__fundamental_type_info";
151         "typeinfo for __cxxabiv1::__pbase_type_info";
152         "typeinfo for __cxxabiv1::__pointer_to_member_type_info";
153         "typeinfo for __cxxabiv1::__pointer_type_info";
154         "typeinfo for __cxxabiv1::__si_class_type_info";
155         "typeinfo for __cxxabiv1::__vmi_class_type_info";
156
157         # Typeinfo names.
158
159         "typeinfo name for unsigned char const*";
160         "typeinfo name for long const*";
161         "typeinfo name for double const*";
162         "typeinfo name for unsigned long long const*";
163         "typeinfo name for unsigned short const*";
164         "typeinfo name for char const*";
165         "typeinfo name for long long const*";
166         "typeinfo name for short const*";
167         "typeinfo name for unsigned int const*";
168         "typeinfo name for float const*";
169         "typeinfo name for bool const*";
170         "typeinfo name for wchar_t const*";
171         "typeinfo name for int const*";
172         "typeinfo name for unsigned long const*";
173         "typeinfo name for void const*";
174         "typeinfo name for long double const*";
175         "typeinfo name for signed char const*";
176         "typeinfo name for wchar_t";
177         "typeinfo name for short";
178         "typeinfo name for char";
179         "typeinfo name for float";
180         "typeinfo name for void";
181         "typeinfo name for unsigned int";
182         "typeinfo name for bool";
183         "typeinfo name for signed char";
184         "typeinfo name for long double";
185         "typeinfo name for int";
186         "typeinfo name for unsigned long long";
187         "typeinfo name for unsigned long";
188         "typeinfo name for unsigned char";
189         "typeinfo name for long";
190         "typeinfo name for long long";
191         "typeinfo name for unsigned short";
192         "typeinfo name for double";
193
194         "typeinfo name for bool*";
195         "typeinfo name for wchar_t*";
196         "typeinfo name for short*";
197         "typeinfo name for char*";
198         "typeinfo name for unsigned char*";
199         "typeinfo name for long long*";
200         "typeinfo name for unsigned short*";
201         "typeinfo name for long*";
202         "typeinfo name for double*";
203         "typeinfo name for unsigned long*";
204         "typeinfo name for unsigned long long*";
205         "typeinfo name for int*";
206         "typeinfo name for long double*";
207         "typeinfo name for signed char*";
208         "typeinfo name for void*";
209         "typeinfo name for unsigned int*";
210         "typeinfo name for float*";
211         # C++11 typeinfo not understood by our linker
212         # std::nullptr_t
213         _ZTSDn;_ZTIPDn;_ZTIPKDn;
214         # char16_t
215         _ZTSDi;_ZTIPDi;_ZTIPKDi;
216         # char32_t
217         _ZTSDs;_ZTIPDs;_ZTIPKDs;
218         # IEEE 754r decimal floating point
219         _ZTSDd;_ZTIPDd;_ZTIPKDd;
220         _ZTSDe;_ZTIPDe;_ZTIPKDe;
221         _ZTSDf;_ZTIPDf;_ZTIPKDf;
222         # IEEE 754r half-precision floating point
223         _ZTSDh;_ZTIPDh;_ZTIPKDh;
224
225         "typeinfo name for __cxxabiv1::__array_type_info";
226         "typeinfo name for __cxxabiv1::__class_type_info";
227         "typeinfo name for __cxxabiv1::__enum_type_info";
228         "typeinfo name for __cxxabiv1::__function_type_info";
229         "typeinfo name for __cxxabiv1::__fundamental_type_info";
230         "typeinfo name for __cxxabiv1::__pbase_type_info";
231         "typeinfo name for __cxxabiv1::__pointer_to_member_type_info";
232         "typeinfo name for __cxxabiv1::__pointer_type_info";
233         "typeinfo name for __cxxabiv1::__si_class_type_info";
234         "typeinfo name for __cxxabiv1::__vmi_class_type_info";
235
236         "std::type_info::type_info(std::type_info const&)";
237         "std::type_info::operator=(std::type_info const&)";
238
239
240         # Extensions
241         "pathscale::set_terminate(void (*)())";
242         "pathscale::set_unexpected(void (*)())";
243         "pathscale::set_use_thread_local_handlers(bool)";
244
245
246     };
247
248   local:
249     *;
250 };
251
252 CXXABI_1.3.1 {
253     __cxa_get_exception_ptr;
254 } CXXABI_1.3;
255
256
257 CXXRT_1.0 {
258
259     extern "C++" {
260         "std::type_info::name() const";
261         "std::type_info::before(std::type_info const&) const";
262         "std::type_info::operator==(std::type_info const&) const";
263         "std::type_info::operator!=(std::type_info const&) const";
264         "std::bad_cast::bad_cast(std::bad_cast const&)";
265         "std::bad_cast::bad_cast()";
266         "std::bad_cast::operator=(std::bad_cast const&)";
267         "std::bad_typeid::bad_typeid(std::bad_typeid const&)";
268         "std::bad_typeid::bad_typeid()";
269         "std::bad_typeid::operator=(std::bad_typeid const&)";
270         "std::exception::exception(std::exception const&)";
271         "std::exception::exception()";
272         "std::exception::operator=(std::exception const&)";
273         "std::bad_alloc::bad_alloc(std::bad_alloc const&)";
274         "std::bad_alloc::bad_alloc()";
275         "std::bad_alloc::operator=(std::bad_alloc const&)";
276
277     };
278     __cxa_allocate_dependent_exception;
279     __cxa_current_primary_exception;
280     __cxa_decrement_exception_refcount;
281     __cxa_free_dependent_exception;
282     __cxa_increment_exception_refcount;
283     __cxa_rethrow_primary_exception;
284
285 } CXXABI_1.3.1;
286
287
288 GLIBCXX_3.4 {
289     extern "C++" {
290         "operator delete[](void*)";
291         "operator delete(void*)";
292         "operator new[](unsigned int)";
293         "operator new(unsigned int)";
294         "operator new(unsigned int, std::nothrow_t const&)";
295         "operator new[](unsigned long)";
296         "operator new(unsigned long)";
297         "operator new(unsigned long, std::nothrow_t const&)";
298
299         "std::unexpected()";
300         "std::get_terminate()";
301         "std::get_unexpected()";
302         "std::uncaught_exception()";
303         "std::terminate()";
304
305         "std::type_info::~type_info()";
306         "std::bad_cast::~bad_cast()";
307         "std::bad_typeid::~bad_typeid()";
308         "std::exception::~exception()";
309         "std::bad_alloc::~bad_alloc()";
310
311         "std::exception::what() const";
312
313         std::set_new_handler*;
314         std::set_terminate*;
315         std::set_unexpected*;
316         std::type_info::__*;
317
318         "vtable for std::bad_alloc";
319         "vtable for std::bad_cast";
320         "vtable for std::bad_typeid";
321         "vtable for std::exception";
322         "vtable for std::type_info";
323
324         "typeinfo for std::bad_alloc";
325         "typeinfo for std::bad_typeid";
326         "typeinfo for std::bad_cast";
327         "typeinfo for std::exception";
328         "typeinfo for std::type_info";
329         "typeinfo name for std::bad_alloc";
330         "typeinfo name for std::bad_typeid";
331         "typeinfo name for std::bad_cast";
332         "typeinfo name for std::exception";
333         "typeinfo name for std::type_info";
334
335     };
336 };
337
338 GLIBCXX_3.4.9 {
339     extern "C++" {
340         "std::bad_typeid::what() const";
341         "std::bad_cast::what() const";
342         "std::bad_alloc::what() const";
343     };
344 } GLIBCXX_3.4;
345