[all-commits] [llvm/llvm-project] 6b5149: [Driver] Link shared asan runtime lib with -z now ...

rorth via All-commits all-commits at lists.llvm.org
Thu Jul 27 02:33:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b5149aa442efc10afa00e8864e58a24a9cf5c9f
      https://github.com/llvm/llvm-project/commit/6b5149aa442efc10afa00e8864e58a24a9cf5c9f
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2023-07-27 (Thu, 27 Jul 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/Solaris.cpp
    M clang/test/Driver/solaris-ld-sanitizer.c

  Log Message:
  -----------
  [Driver] Link shared asan runtime lib with -z now on Solaris/x86

As detailed in Issue #64126, several asan tests `FAIL` due to a cycle in
`AsanInitInternal`.  This can by avoided by disabling lazy binding with `ld
-z now`.

Tested on `amd64-pc-solaris2.11` and `x86_64-pc-linux-gnu`.

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




More information about the All-commits mailing list