diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-20 07:22:19 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-20 07:22:19 +0000 |
commit | f7a9da053f5bd6c18450c1796d953b42c3b7ad3a (patch) | |
tree | 3a4accecdb98419478035c3bf5be57df768e0625 /test/CodeGen/code-coverage.c | |
parent | 5251abea41b446c26e3239c8dd6c7edea6fc335d (diff) |
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
Diffstat (limited to 'test/CodeGen/code-coverage.c')
-rw-r--r-- | test/CodeGen/code-coverage.c | 11 |
1 files changed, 7 insertions, 4 deletions
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 } |