gcov-16.c: Adjust scan-assembler for Darwin.
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. From-SVN: r181610
This commit is contained in:
parent
6685dd96b2
commit
0c082b2037
@ -1,3 +1,10 @@
|
||||
2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
|
||||
|
||||
* 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.
|
||||
|
||||
2011-11-21 Torvald Riegel <triegel@redhat.com>
|
||||
|
||||
* g++.dg/tm/pr47747.C: New test.
|
||||
|
@ -10,4 +10,5 @@ void X::Fink ()
|
||||
{
|
||||
}
|
||||
|
||||
/* { dg-final { scan-assembler "\\.hidden\t__gcov___ZN1X4FinkEv" } } */
|
||||
/* { dg-final { scan-assembler "\\.hidden\t__gcov___ZN1X4FinkEv" { target { ! *-*-darwin* } } } } */
|
||||
/* { dg-final { scan-assembler "\\.private_extern ___gcov___ZN1X4FinkEv" { target *-*-darwin* } } } */
|
||||
|
@ -10,6 +10,8 @@ extern "C" void (*Foo ()) ()
|
||||
return Boo;
|
||||
}
|
||||
|
||||
/* { dg-final { scan-assembler "\\.hidden\t__gcov___Z3Boov" } } */
|
||||
/* { dg-final { scan-assembler "\\.hidden\t__gcov___Z3Boov" { target { ! *-*-darwin* } } } } */
|
||||
/* { dg-final { scan-assembler "\\.private_extern ___gcov___Z3Boov" { target *-*-darwin* } } } */
|
||||
/* { dg-final { scan-assembler "__gcov__Foo:" } } */
|
||||
/* { dg-final { scan-assembler-not "\\.hidden\t__gcov__Foo" } } */
|
||||
/* { dg-final { scan-assembler-not "\\.hidden\t__gcov__Foo" { target { ! *-*-darwin* } } } } */
|
||||
/* { dg-final { scan-assembler-not "\\.private_extern ___gcov__Foo" { target *-*-darwin* } } } */
|
||||
|
@ -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* } } } */
|
||||
|
@ -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* } } } */
|
||||
|
Loading…
Reference in New Issue
Block a user