[LLVMdev] Code compiling in gcc but not llvm
Duncan Sands
baldrick at free.fr
Sun Jan 27 12:33:45 PST 2013
Hi,
On 26/01/13 04:45, abhirup dutta wrote:
> 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
please open a bug report in bugzilla (http://llvm.org/bugs/).
Ciao, Duncan.
>
> 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")));
> extern __typeof(__testfunc) testfunc __attribute__ ((weak, alias ("__testfunc")));
> =================================================
>
> Thanks
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
More information about the llvm-dev
mailing list