This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFT] Support visibility* tests on darwin


Andrew Pinski <pinskia@physics.uc.edu> writes:

> This adds support to the testsuite for the visibility* tests on darwin.
> I would like someone to test this on an elf target to make sure that I
> did not make a mistake when moving the scan part for elf to a different
> proc.  The reason why I changed the testcases is because darwin uses
> a different pattern to check for hidden visibility.  The C++ testsuite
> was already changed to use scan-hidden/scan-not-hidden.
> 
> After this gets tested on an elf target.  OK?

Excellent!  I tried doing this and discovered that they all failed
because they were looking for .hidden.  Thank you!

This is OK.

> ChangeLog:
> 
> 	* gcc.dg/visibility-[1-9a].c: Change to use scan-hidden instead of
> 	scan-assembler.
> 	* lib/scanasm.exp (hidden-scan-for): New proc.
> 	(scan-hidden): Use hidden-scan-for instead of constructing the scan
> 	string.
> 	(scan-not-hidden): Likewise.
> 	* lib/target-supports.exp (check_visibility_available): mach-o is
> 	support too.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]