MaskRay added a comment.

Can you add a test to `test/Driver/solaris-ld.c`?

> However, if someone forgets this, it depends on the user's PATH whether or 
> not clang finds the correct linker, which doesn't make for a good user 
> experience.

Not very sure about this. The last resort of GetProgramPath is `PATH`. On 
FreeBSD and Linux, this is how `/usr/bin/ld` gets selected. PATH can affect 
`ld` choice.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84029/new/

https://reviews.llvm.org/D84029



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to