1 /* Test that the .SUNW_ldynsym section is correctly read. */ 2 3 #include <stdlib.h> 4 5 __attribute__((noinline)) function3(size_t size)6static void function3(size_t size) 7 { 8 malloc(size); 9 } 10 11 __attribute__((noinline)) function2(size_t size)12static void function2(size_t size) 13 { 14 function3(size); 15 } 16 17 __attribute__((noinline)) function(size_t size)18static void function(size_t size) 19 { 20 function2(size); 21 } 22 main(void)23int main(void) 24 { 25 function(10); 26 27 return 0; 28 } 29 30