[PATCH] D137375: [AIX][pg] Add Correct Search Paths for Profiled Libraries
Michael Francis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 22 08:34:52 PST 2022
francii added a comment.
In D137375#3943751 <https://reviews.llvm.org/D137375#3943751>, @cebowleratibm wrote:
> 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.
The linker gives priority to the libraries that are linked last, in the sense that if I link 2 directories with the same library, the library that gets linked against is chosen from the second directory, not the first. This patch makes the profiled libraries the last to be linked against, so that their linking overwrites the linking of their non-profiled counterparts.
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