diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-20 19:30:01 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-20 19:30:01 +0000 |
commit | 3bba3efba0e57071d60b355ed62639f93e37711c (patch) | |
tree | 9eb792a303ca5ad3cd2a3ea0c307a876864b5bb1 /test/CodeGen/code-coverage.c | |
parent | 6b3d3e54c003b03f16e235ad2ff49e95587bbf92 (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.c | 11 |
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{{.*}} } |