DanielCChen wrote: > I would generally prefer if we could avoid having driver behavior depend on > the existance of files, but the linker would also pick an existing file as > well.
Agreed. The `if (static exists) - else if (shared exists)` logic in this PR is temporary until we have the compiler option to allow users to choose which one to link. https://github.com/llvm/llvm-project/pull/134362 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits