llvm-project/compiler-rt/lib/scudo/standalone/tests
Amy Kwan 4cd8dd3fe0 [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
2021-08-22 13:47:04 -05:00
..
CMakeLists.txt [scudo][standalone] Link tests against libatomic if libatomic exists 2021-08-22 13:47:04 -05:00
atomic_test.cpp [scudo][standalone] Remove unused atomic_compare_exchange_weak 2020-09-28 16:25:14 -07:00
bytemap_test.cpp scudo: Delete unused class ScudoByteMap. NFCI. 2020-02-06 09:30:24 -08:00
checksum_test.cpp [scudo/standalone] Fix undefined behavior in checksum test 2020-09-19 12:28:00 -07:00
chunk_test.cpp Name all DEATH tests using 'DeathTest' suffix. 2021-07-02 13:51:16 -07:00
combined_test.cpp Name all DEATH tests using 'DeathTest' suffix. 2021-07-02 13:51:16 -07:00
common_test.cpp [NFC][scudo] Avoid integer overflow in test 2021-06-03 00:08:41 -07:00
flags_test.cpp [scudo][standalone] Restore GWP-ASan flag parsing 2021-01-27 12:35:34 -08:00
list_test.cpp [scudo][standalone] Make tests work on Fuchsia 2019-11-27 09:17:40 -08:00
map_test.cpp Name all DEATH tests using 'DeathTest' suffix. 2021-07-02 13:51:16 -07:00
memtag_test.cpp Name all DEATH tests using 'DeathTest' suffix. 2021-07-02 13:51:16 -07:00
mutex_test.cpp [scudo] Get rid of initLinkerInitialized 2021-05-26 09:53:40 -07:00
primary_test.cpp [scudo] Add Scudo support for Trusty OS 2021-06-08 14:02:10 -07:00
quarantine_test.cpp [scudo] Rework Vector/String 2021-06-03 18:12:24 -07:00
release_test.cpp [scudo][standalone] Compact pointers for Caches/Batches 2021-02-25 12:14:38 -08:00
report_test.cpp Name all DEATH tests using 'DeathTest' suffix. 2021-07-02 13:51:16 -07:00
scudo_unit_test.h [scudo] Add memtag_test 2021-06-04 12:38:29 -07:00
scudo_unit_test_main.cpp [scudo] Enabled MTE before the first allocator 2021-06-23 23:01:26 -07:00
secondary_test.cpp [scudo] Fix test on aarch64 without MTE 2021-07-01 21:40:04 -07:00
size_class_map_test.cpp [scudo] Separate Fuchsia & Default SizeClassMap 2021-05-24 08:54:08 -07:00
stats_test.cpp [scudo][standalone] Make tests work on Fuchsia 2019-11-27 09:17:40 -08:00
strings_test.cpp [NFC][scudo] Fix sign-compare warning in test 2021-06-04 19:33:42 -07:00
tsd_test.cpp [scudo] Ensure proper allocator alignment in TSD test 2021-06-16 14:21:58 -07:00
vector_test.cpp [scudo] Rework Vector/String 2021-06-03 18:12:24 -07:00
wrappers_c_test.cpp Name all DEATH tests using 'DeathTest' suffix. 2021-07-02 13:51:16 -07:00
wrappers_cpp_test.cpp Name all DEATH tests using 'DeathTest' suffix. 2021-07-02 13:51:16 -07:00