[all-commits] [llvm/llvm-project] cf035c: [scudo][standalone] Link tests against libatomic i...

Amy Kwan via All-commits all-commits at lists.llvm.org
Mon Aug 23 13:42:11 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: cf035cac186b57b51fc89b5bf59f043e1b61fc8c
      https://github.com/llvm/llvm-project/commit/cf035cac186b57b51fc89b5bf59f043e1b61fc8c
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2021-08-23 (Mon, 23 Aug 2021)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt

  Log Message:
  -----------
  [scudo][standalone] Link tests against libatomic if libatomic exists

It is possible that libatomic does not exist on some systems. This patch updates
the scudo standalone tests to link against libatomic if the library exists.

This is an update to the original patch: https://reviews.llvm.org/D64134 and
aims to resolve https://bugs.llvm.org/show_bug.cgi?id=51431.

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

(cherry picked from commit 4cd8dd3fe05e099792e1494dedd074eb5ba289b6)




More information about the All-commits mailing list