diff options
author | Juergen Ributzka <juergen@ributzka.de> | 2023-11-16 08:41:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 08:41:20 -0800 |
commit | d3b75c4750673b6d0d8a224f02b2c0885209a49a (patch) | |
tree | 350e5ca0f78a66a41b2f7cdaa8ede14c831c2bdf /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | |
parent | be9fa9dee50138f0283a3354ce76069036b1330c (diff) | |
download | llvm-d3b75c4750673b6d0d8a224f02b2c0885209a49a.zip llvm-d3b75c4750673b6d0d8a224f02b2c0885209a49a.tar.gz llvm-d3b75c4750673b6d0d8a224f02b2c0885209a49a.tar.bz2 |
[clang] Make `-fvisibility={}` and `-ftype-visibility={}` benign options. (#71985)
Both options do not affect the AST content that is serialized into the PCM. This
commit includes the following changes:
1.) Mark `-fvisibility={}` and `-ftype-visibility={}` as benign options.That
means they are no longer considered part of the module hash, which can
reduce the number of module variants.
2.) Add a test to verify the generated LLVM IR is not affected by the default
visibiliy mode in the module.
3.) Add a test to clang-scan-deps to ensure only one module is build, even if
the above mentioned options are used.
This fixes rdar://118246054.
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions