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

Evan Cheng evan.cheng at apple.com
Mon Oct 3 15:25:30 PDT 2011


See Function::callsFunctionThatReturnsTwice(). If you are adding this attribute, then should add the attribute to these special functions (e.g. setjmp)? Then callsFunctionThatReturnsTwice() can go away.

Evan

On Sep 29, 2011, at 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.
> 
> Is it OK?
> 
> Cheers,
> Rafael
> <returns_twice.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list