]>
git.saurik.com Git - apple/ld64.git/blob - ld64-134.9/unit-tests/test-cases/unstrippable-symbols/foo.c
140f8c61e76b1a7bdb658845d63f6573c3a32543
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
;