]>
git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/unstrippable-symbols/foo.c
4 asm(".desc _keep_global, 0x10");
6 __attribute__((visibility("hidden"))) int keep_hidden
= 1;
7 asm(".desc _keep_hidden, 0x10");
9 static int keep_static
= 1;
10 asm(".desc _keep_static, 0x10");
15 __attribute__((visibility("hidden"))) int lose_hidden
= 1;
17 static int lose_static
= 1;
23 return keep_global
+ keep_hidden
+ keep_static
+ lose_global
+ lose_hidden
+ lose_static
;