[all-commits] [llvm/llvm-project] 0fae85: [AIX][pg] Add Correct Search Paths for Profiled Li...

Chris Bowler via All-commits all-commits at lists.llvm.org
Tue Nov 29 07:17:39 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0fae851824bc1b64a727aeb331b7a0787599bd1f
      https://github.com/llvm/llvm-project/commit/0fae851824bc1b64a727aeb331b7a0787599bd1f
  Author: Michael Francis <michaelfrancis at ibm.com>
  Date:   2022-11-29 (Tue, 29 Nov 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/AIX.cpp
    M clang/test/Driver/aix-ld.c

  Log Message:
  -----------
  [AIX][pg] Add Correct Search Paths for Profiled Libraries

On AIX, profiled system libraries are stored at `/lib/profiled` and
`/usr/lib/profiled`. When compiling with `-pg`, we want to link against
libraries in those directories. This PR modifies the AIX toolchain to
add those directories to the linker search paths.

Differential Review: https://reviews.llvm.org/D137375




More information about the All-commits mailing list