[clang] [clang][modules][deps]Remove -F option from test for clang-scan-deps (PR #141614)
Jamie Schmeiser via cfe-commits
cfe-commits at lists.llvm.org
Thu May 29 11:15:17 PDT 2025
jamieschmeiser wrote:
Our legacy products had different functionality for -F than the current Clang -F functionality. See https://www.ibm.com/docs/en/xl-c-and-cpp-aix/16.1.0?topic=ixcod-f, in particular the note that states that this functionality is different from GCC -F (and therefore different from Clang functionality). Our current offering does not support -F (see https://www.ibm.com/docs/en/openxl-c-and-cpp-aix/17.1.3?topic=guide-compiler-options) and an error is produced. Note that this is for AIX which is different from Linux on Power.
The handling of -F may be considered controversial since it is supported as a g++ platform specific extension and this is why I indicated that the reviews would indicate whether my future PR regarding this would determine whether this error will be a general error for non-darwin targets or specific to certain target platforms. Either way, -F is not universally supported and may cause problems in the future. (Of course, there is the possibility that the community rejects either option regarding an error but I'll deal with that if it materializes...). -F is not germane to these lit tests since they are not specifically for testing the functionality of -F and should therefore be avoided if possible or restricted to those target platforms that support it.
https://github.com/llvm/llvm-project/pull/141614
More information about the cfe-commits
mailing list