francii added a comment.

In D137375#3906777 <https://reviews.llvm.org/D137375#3906777>, @MaskRay wrote:

> This needs a clang/test/Driver test. And, does this work with --sysroot= ?

Thanks for your comment.
It seems there will need to be a separate patch for `--sysroot`. From my 
initial findings, the compiler recognizes but does not respect sysroot on AIX.

On `xlc`, passing `--sysroot=` does not change the path used for these 
libraries. The driver will emit the same link flags: 
`-L/lib/profiled,-L/usr/lib/profiled`. As of now, this patch follows the same 
standard for consistency.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137375

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

Reply via email to