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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to