[all-commits] [llvm/llvm-project] 69516d: [compiler-rt] Avoid pulling libatomic to sanitizer...

Kamil Rytarowski via All-commits all-commits at lists.llvm.org
Thu Sep 17 07:04:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 69516ddd028e8314f575a90bfca1724818fb5ca6
      https://github.com/llvm/llvm-project/commit/69516ddd028e8314f575a90bfca1724818fb5ca6
  Author: Kamil Rytarowski <n54 at gmx.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_atomic_test.cpp

  Log Message:
  -----------
  [compiler-rt] Avoid pulling libatomic to sanitizer tests

Avoid fallbacking to software emulated compiler atomics, that are usually
provided by libatomic, which is not always present.

This fixes the test on NetBSD, which does not provide libatomic in base.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list