Displaying 2 results from an estimated 2 matches for "__gi___testfunc".
2013 Jan 26
2
[LLVMdev] Code compiling in gcc but not llvm
...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 (__testfunc) __EI___testfunc __asm__("" "__testfunc");
extern __typeof (__testfunc) __EI___testfunc __attribute__((alias (""
"__GI___testfunc"...
2013 Jan 27
0
[LLVMdev] Code compiling in gcc but not llvm
$ gcc -S test.c
$ cat test.s
.file "test.c"
.text
.globl __GI___testfunc
.hidden __GI___testfunc
.type __GI___testfunc, @function
__GI___testfunc:
.LFB0:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
movl $0, %eax
popq %rbp
.cfi_def_cfa 7, 8
re...