HomePhabricator

[compiler-rt] Avoid pulling libatomic to sanitizer tests

Authored by krytarowski on Sep 17 2020, 7:02 AM.

Description

[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