thakis added a comment.

The behavior change can still be observed by a `-###` test -- just check that 
`-rpath` gets passed to the linker.

Clang tests generally can't rely on running linkers. Linkers tend to be 
platform-specific. Windows link.exe can't produce elf binaries, macOS's ld64 
can't produce elf binaries, etc. That's why driver tests are all `-###`-based. 
(That, and we try to do more unit testing and less integration testing.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118493

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

Reply via email to