[cfe-commits] [PATCH] add support for "naked" attribute
Fariborz Jahanian
fjahanian at apple.com
Tue Sep 15 14:18:25 PDT 2009
On Sep 15, 2009, at 2:09 PM, Sylvere Teissier wrote:
>
> Index: test/CodeGen/attr-naked.c
> ===================================================================
> --- test/CodeGen/attr-naked.c (révision 0)
> +++ test/CodeGen/attr-naked.c (révision 0)
> @@ -0,0 +1,9 @@
> +// RUN: clang-cc -g -emit-llvm -o %t %s &&
> +// RUN: grep 'naked' %t
> +
> +
> +void t1() __attribute__((naked));
> +
> +void t1()
> +{
> +}
It would be useful if your test case shows effect of specifying this
attribute on a function declaration.
- Fariborz
>
More information about the cfe-commits
mailing list