From c33fc4c00453099f4ac180313a67d6eb0f91ce0a Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 20 Feb 2013 07:22:19 +0000 Subject: Modify the tests to use attribute group references instead of listing the function attributes. llvm-svn: 175606 --- clang/test/CodeGen/code-coverage.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'clang/test/CodeGen/code-coverage.c') diff --git a/clang/test/CodeGen/code-coverage.c b/clang/test/CodeGen/code-coverage.c index eacebbddb2c..3c9392d1c57 100644 --- a/clang/test/CodeGen/code-coverage.c +++ b/clang/test/CodeGen/code-coverage.c @@ -14,7 +14,10 @@ int test1(int a) { // Check that the noredzone flag is set on the generated functions. -// CHECK: void @__llvm_gcov_indirect_counter_increment(i32* %{{.*}}, i64** %{{.*}}) unnamed_addr noinline noredzone -// CHECK: void @__llvm_gcov_writeout() unnamed_addr noinline noredzone -// CHECK: void @__llvm_gcov_init() unnamed_addr noinline noredzone -// CHECK: void @__gcov_flush() unnamed_addr noinline noredzone +// CHECK: void @__llvm_gcov_indirect_counter_increment(i32* %{{.*}}, i64** %{{.*}}) unnamed_addr #1 +// CHECK: void @__llvm_gcov_writeout() unnamed_addr #1 +// CHECK: void @__llvm_gcov_init() unnamed_addr #1 +// CHECK: void @__gcov_flush() unnamed_addr #1 + +// CHECK: attributes #0 = { noredzone nounwind "target-features"={{.*}} } +// CHECK: attributes #1 = { noinline noredzone } -- cgit v1.2.3