From d620e09c13b1ca32434ce440abf5bb0f3d0979c5 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 25 Feb 2013 07:15:16 +0000 Subject: Add more attributes from the command line to functions. This is an ongoing process. Any command line option which a back-end cares about should be added here. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176009 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/2008-04-08-NoExceptions.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'test/CodeGen/2008-04-08-NoExceptions.c') diff --git a/test/CodeGen/2008-04-08-NoExceptions.c b/test/CodeGen/2008-04-08-NoExceptions.c index 7d533b7a3a..1213492d1d 100644 --- a/test/CodeGen/2008-04-08-NoExceptions.c +++ b/test/CodeGen/2008-04-08-NoExceptions.c @@ -2,12 +2,11 @@ void f(void); void g(void) { - // CHECK: define void @g() #0 + // CHECK: define void @g() [[NUW:#[0-9]+]] // CHECK-NOT: call void @f() nounwind f(); } -// CHECK-NOT: declare void @f() #0 +// CHECK-NOT: declare void @f() [[NUW]] -// CHECK: attributes #0 = { nounwind {{.*}} } -// CHECK: attributes #1 = { "target-features"={{.*}} } +// CHECK: attributes [[NUW]] = { nounwind{{.*}} } -- cgit v1.2.1