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

Chris Bowler via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 22 06:24:03 PST 2022


cebowleratibm added a comment.

Looks good but I just want to confirm that the profiled -L paths are appended in the correct order with respect to the non-profiled paths.



================
Comment at: clang/test/Driver/aix-ld.c:192
 // CHECK-LD32-GPROF:     "-lc"
+// CHECK-LD32-GPROF:     "-L[[SYSROOT]]/lib/profiled"
+// CHECK-LD32-GPROF:     "-L[[SYSROOT]]/usr/lib/profiled"
----------------
I don't currently see the test checking for the usual `/lib` and `/usr/lib` directories.  Should we check that the new profiled -L paths are correctly positioned relative to the non-profiled directories, or does it matter?


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