[all-commits] [llvm/llvm-project] a09be0: [compiler-rt][profile][AIX] pass extra link opts f...

David Tenty via All-commits all-commits at lists.llvm.org
Tue Jan 25 10:58:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a09be08594a8b980f3cd0ad7e8aea1f9545517ae
      https://github.com/llvm/llvm-project/commit/a09be08594a8b980f3cd0ad7e8aea1f9545517ae
  Author: David Tenty <daltenty at ibm.com>
  Date:   2022-01-25 (Tue, 25 Jan 2022)

  Changed paths:
    M compiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
    M compiler-rt/test/profile/Posix/lit.local.cfg.py

  Log Message:
  -----------
  [compiler-rt][profile][AIX] pass extra link opts for test

The AIX linker doesn't export any symbols by default, so an export list is usually used. Since clang doesn't have the tools to auto-generate an export list yet, just pass the linker an extra opt to tell it to export everything. This is  generally not recommended for real shared libs, but is fine for the purpose of this test.

Differential Revision: https://reviews.llvm.org/D118101




More information about the All-commits mailing list