[LLVMdev] Build Attributes Proposal

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Nov 17 14:55:24 PST 2010


> Hi Duncan,
>
> This could work, but it's very limited. Besides, there's already an MC
> build attribute infrastructure, one would have to interpret those
> strings in the back-end to an MC construct then back again to ASM and
> ELF.
>
> I don't see why having a magic global would be worse than using module asm...

So, you mentioned that there should be no attributes that were not
requested by the users, right? If that is so, can't you produce the
asm in clang or you FE and have llvm never introduce new ones? LLVM
itself doesn't use the attributes, so it doesn't need to interpret
them.

> --renato

Cheers,
Rafael



More information about the llvm-dev mailing list