[LLVMdev] Build Attributes Proposal

Renato Golin renato.golin at arm.com
Sat Nov 13 06:50:38 PST 2010


On 13 November 2010 10:06, Duncan Sands <baldrick at free.fr> wrote:
>   module asm "\09.ident\09\22GCC: (GNU) 4.5.2 20101028 (prerelease) LLVM:
> 118890\22"

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...

--renato




More information about the llvm-dev mailing list