[LLVMdev] dragonegg and alias attribute
Duncan Sands
baldrick at free.fr
Thu Aug 4 00:37:16 PDT 2011
Hi Gregory,
> Another question about the more esoteric parts of C. Is there any way to get
> dragonegg to handle c function aliases or is there a way to get around this? For
> example, I've got a simple file:
>
> int foo(int x) { return x; }
>
> extern typeof(foo) foo2 __attribute((alias("foo")));
>
> Compiling with vanilla gcc I end up with two symbols: foo and foo2 which both
> refer to the same function. When I compile through dragonegg I only get a symbol
> for foo.
it seems it is being handled a bit too well by dragonegg :) Please open a bug
report.
Best wishes, Duncan.
More information about the llvm-dev
mailing list