[PATCH] D137375: [AIX][pg] Add Correct Search Paths for Profiled Libraries

Michael Francis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 7 08:14:34 PST 2022


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



More information about the cfe-commits mailing list