blob: 673c402022d82df821d95f2266369e39feda9bc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/* Hide all symbols except a few required ones.
*
* Otherwise LLVM symbols conflict with Mesa llvm pipe, boost symbols conflict
* with Luxrender, etc. */
{
global:
/* Essential symbols for the program to start and exit. */
_bss_start;
__end;
_fini;
_init;
/* Needed for Python modules to work. */
Py*;
_Py*;
/* Needed for sanitizers. Based on:
* llvm/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py. */
__asan*;
__lsan*;
__tsan*;
__ubsan*;
__sanitizer*;
__Znw*;
__Zna*;
__Zdl*;
__Zda*;
aligned_alloc;
aligned_free;
calloc*;
free;
mallinfo;
malloc*;
mallopt;
memalign;
memcpy;
posix_memalign;
pthread_*;
pvalloc;
realloc*;
realpath;
sched_*;
valloc;
local:
*;
};
|