[LLVMdev] Function Attributes in LLVM
Anton Korobeynikov
anton at korobeynikov.info
Tue Feb 17 08:35:01 PST 2009
Hello, Josef
> useful for some low level targets. As far as I know function
> attributes
> are GCC specific or am I wrong?
That's correct
> Is there a Standard-C way to add this
> kind of meta information to a function?
Well... You can store function pointers into some array and add any
extra information your like.
> I think it would be a pretty nice feature if a target could specify
> special function attributes or am I totally missing the point?
Look for annotation attribute.
---
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list