[flang] [clang] [flang][Driver] Support -nodefaultlibs, -nostartfiles and -nostdlib (PR #72601)

Andrzej WarzyƄski via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 28 01:08:43 PST 2023


================

----------------
banach-space wrote:

 Yes, the original comment in the file was not accurate - thanks for the updating it! 
 
However, as the name of the file suggests, "dynamic-linker.f90" tests for behaviour relevant to the **dynamic** linker/linking.  And, IIUC,`-nostdlib`/`-nodefaultlibs`/`-nostartfiles` only affect **static** linking. 

IMO there should be a dedicated file for these options. Clang seems to have one test file per each of these flags and that's what I suggest.

https://github.com/llvm/llvm-project/pull/72601


More information about the cfe-commits mailing list