search for: __gi_testfunc

Displaying 2 results from an estimated 2 matches for "__gi_testfunc".

Did you mean: __gi___testfunc
2013 Jan 26
2
[LLVMdev] Code compiling in gcc but not llvm
Hi, This is my first post, sorry if not in the right format. I am stuck at a place where I have a code fragment that runs in normal gcc but fails when I give -fplugin=dragonegg.so extern int *testfunc(); extern __typeof (testfunc) testfunc __asm__ ("" "__GI_testfunc") __attribute__ ((visibility ("hidden"))); extern __typeof(testfunc) __testfunc; extern __typeof (__testfunc) __testfunc __asm__ ("" "__GI___testfunc") __attribute__ ((visibility ("hidden"))); int *__testfunc() { return 0; } extern __typeof (...
2013 Jan 27
0
[LLVMdev] Code compiling in gcc but not llvm
...ffset 16 .cfi_offset 6, -16 movq %rsp, %rbp .cfi_def_cfa_register 6 movl $0, %eax popq %rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size __GI___testfunc, .-__GI___testfunc .globl __testfunc .set __testfunc,__GI___testfunc .weak __GI_testfunc .hidden __GI_testfunc .set __GI_testfunc,__testfunc .ident "GCC: (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3" .section .note.GNU-stack,"", at progbits $ gcc -S test.c -fplugin=dragonegg.so test.c:17:29: error: ‘*__GI_testfunc’ aliased to undefined symbol ‘...