[AIX][XCOFF] Fixed the test case which failed at aix OS because enable -mignore-xcoff...
authordiggerlin <digger.llvm@gmail.com>
Mon, 15 Mar 2021 21:32:03 +0000 (17:32 -0400)
committerdiggerlin <digger.llvm@gmail.com>
Mon, 15 Mar 2021 21:33:02 +0000 (17:33 -0400)
commitd1f1bff81bd9909fcfdb4d97af9e3ab5d827b529
tree64b640567a41b3ab5740a7ac5d973f8a38ba030f
parent50c7504a93fdb90c26870db8c8ea7add895c7725
[AIX][XCOFF] Fixed the test case which failed at aix OS because enable -mignore-xcoff-visibility by default.

Summary:

because we enable -mignore-xcoff-visibility by default when there is no -fvisibility option in the clang in AIX OS
it will cause some test case fail at aix os. in order to let the -mignore-xcoff-visibility to be disable, we need to add the -fvisibility=default for those test case.

Reviewers: hubert.reinterpretcast daltenty
Differential Revision: https://reviews.llvm.org/D98660
clang/test/CodeGen/hidden-visibility.c
clang/test/CodeGen/private-extern.c
clang/test/Index/symbol-visibility.c