[llvm-commits] [patch] Add the returns_twice attribute

Patrick Walton pwalton at mozilla.com
Thu Sep 29 15:43:52 PDT 2011


On 9/29/11 3:42 PM, Rafael Ávila de Espíndola wrote:
> The attached patch reuses the hotpatch attribute (which Charles Davis
> says is unused) to create the returs_twice attribute. This will be used
> to implement the C attribute with the same name.
>
> It is needed by valgrind, since it has its own setjmp like function.
>
> See PR11038 for more information.

I have a patch to expand the attributes field to 64 bits that seems to 
work, so that's fine with me.

Patrick



More information about the llvm-commits mailing list