diff options
author | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-22 08:50:40 +0000 |
---|---|---|
committer | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-22 08:50:40 +0000 |
commit | bcd29ab77bf374a644f309d1225817ca0d7f2aef (patch) | |
tree | b52563c13d14474627ae1820cfddd0d67d824131 /gcc/testsuite/gcc.misc-tests | |
parent | e426aa2b534b8db49361cd0516ed7690a31ec5a6 (diff) | |
download | gcc-bcd29ab77bf374a644f309d1225817ca0d7f2aef.tar.gz |
gcc/testsuite:
* gcc.misc-tests/gcov-16.c: Adjust scan-assembler for Darwin.
* gcc.misc-tests/gcov-17.c: Likewise.
* g++.dg/gcov/gcov-8.C: Likewise.
* g++.dg/gcov/gcov-9.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181610 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests')
-rw-r--r-- | gcc/testsuite/gcc.misc-tests/gcov-16.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.misc-tests/gcov-17.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/gcov-16.c b/gcc/testsuite/gcc.misc-tests/gcov-16.c index b05c4a064e8..478f44a367d 100644 --- a/gcc/testsuite/gcc.misc-tests/gcov-16.c +++ b/gcc/testsuite/gcc.misc-tests/gcov-16.c @@ -8,4 +8,5 @@ void Foo () { } - /* { dg-final { scan-assembler "\\.hidden\t__gcov__Foo" } } */ + /* { dg-final { scan-assembler "\\.hidden\t__gcov__Foo" { target { ! *-*-darwin* } } } } */ + /* { dg-final { scan-assembler "\\.private_extern ___gcov__Foo" { target *-*-darwin* } } } */ diff --git a/gcc/testsuite/gcc.misc-tests/gcov-17.c b/gcc/testsuite/gcc.misc-tests/gcov-17.c index 66f50f27477..f8ff794215c 100644 --- a/gcc/testsuite/gcc.misc-tests/gcov-17.c +++ b/gcc/testsuite/gcc.misc-tests/gcov-17.c @@ -8,4 +8,5 @@ void __attribute__ ((visibility ("hidden"), weak)) Foo () { } -/* { dg-final { scan-assembler "\\.hidden\t__gcov__Foo" } } */ +/* { dg-final { scan-assembler "\\.hidden\t__gcov__Foo" { target { ! *-*-darwin* } } } } */ +/* { dg-final { scan-assembler "\\.private_extern ___gcov__Foo" { target *-*-darwin* } } } */ |