summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/code-coverage.c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-20 07:22:19 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-20 07:22:19 +0000
commitc33fc4c00453099f4ac180313a67d6eb0f91ce0a (patch)
tree3522c3ac6a80d9d32c581884791649d862af2c76 /clang/test/CodeGen/code-coverage.c
parent90bc19cd914c9870c1d1701b3a3e290b135c63b6 (diff)
downloadbcm5719-llvm-c33fc4c00453099f4ac180313a67d6eb0f91ce0a.tar.gz
bcm5719-llvm-c33fc4c00453099f4ac180313a67d6eb0f91ce0a.zip
Modify the tests to use attribute group references instead of listing the
function attributes. llvm-svn: 175606
Diffstat (limited to 'clang/test/CodeGen/code-coverage.c')
-rw-r--r--clang/test/CodeGen/code-coverage.c11
1 files changed, 7 insertions, 4 deletions
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 }
OpenPOWER on IntegriCloud