aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/code-coverage.c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-20 19:30:01 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-20 19:30:01 +0000
commit3bba3efba0e57071d60b355ed62639f93e37711c (patch)
tree9eb792a303ca5ad3cd2a3ea0c307a876864b5bb1 /test/CodeGen/code-coverage.c
parent6b3d3e54c003b03f16e235ad2ff49e95587bbf92 (diff)
Attempt to clean up tests for non-X86 platforms.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175652 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/code-coverage.c')
-rw-r--r--test/CodeGen/code-coverage.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/CodeGen/code-coverage.c b/test/CodeGen/code-coverage.c
index 3c9392d1c5..f165e30e6f 100644
--- a/test/CodeGen/code-coverage.c
+++ b/test/CodeGen/code-coverage.c
@@ -14,10 +14,9 @@ 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 #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: void @__llvm_gcov_indirect_counter_increment(i32* %{{.*}}, i64** %{{.*}}) unnamed_addr [[NRZ:#[0-9]+]]
+// CHECK: void @__llvm_gcov_writeout() unnamed_addr [[NRZ]]
+// CHECK: void @__llvm_gcov_init() unnamed_addr [[NRZ]]
+// CHECK: void @__gcov_flush() unnamed_addr [[NRZ]]
-// CHECK: attributes #0 = { noredzone nounwind "target-features"={{.*}} }
-// CHECK: attributes #1 = { noinline noredzone }
+// CHECK: attributes [[NRZ]] = { {{.*}}noredzone{{.*}} }