From f7a9da053f5bd6c18450c1796d953b42c3b7ad3a 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175606 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/code-coverage.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'test/CodeGen/code-coverage.c') diff --git a/test/CodeGen/code-coverage.c b/test/CodeGen/code-coverage.c index eacebbddb2..3c9392d1c5 100644 --- a/test/CodeGen/code-coverage.c +++ b/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-18-g5258