[clang] [Driver] Don't pass -Z to ld for ELF platforms (PR #69120)

Brad Smith via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 15 19:16:44 PDT 2023


brad0 wrote:

> Another question is whether we want to use `clang -Z` or `clang -Wl,-Z`. For newer options we probably should recommend `-Wl,` more.

Yes, I was thinking if this is used anywhere via the driver that it could be changed to using -Wl.

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


More information about the cfe-commits mailing list