llvm-project/compiler-rt/lib/gwp_asan/tests
Kostya Kortchinsky 5556616b5b [GWP-ASan] Port tests to Fuchsia
This modifies the tests so that they can be run on Fuchsia:
- add the necessary includes for `set`/`vector` etc
- do the few modifications required to use zxtest instead og gtest

`backtrace.cpp` requires stacktrace support that Fuchsia doesn't have
yet, and `enable_disable.cpp` currently uses `fork()` which Fuchsia
doesn't support yet. I'll revisit this later.

I chose to use `harness.h` to hold my "platform-specific" include and
namespace, and using this header in tests rather than `gtest.h`,
which I am open to change if someone would rather go another direction.

Differential Revision: https://reviews.llvm.org/D91575
2020-11-18 13:36:12 -08:00
..
optional [GWP-ASan] Crash Handler API. 2020-02-05 15:39:17 -08:00
CMakeLists.txt [GWP-ASan] Split the unwinder into segv/non-segv. 2020-07-21 08:25:37 -07:00
alignment.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
backtrace.cpp [GWP-ASan] Crash handler API returns sizeof(collected trace) 2020-07-27 10:51:55 -07:00
basic.cpp [GWP-ASan] Crash Handler API. 2020-02-05 15:39:17 -08:00
compression.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
crash_handler_api.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
driver.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
enable_disable.cpp [GWP-ASan] enable/disable and fork support. 2020-01-24 13:53:26 -08:00
harness.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
harness.h [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
iterate.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
late_init.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
mutex_test.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
slot_reuse.cpp [GWP-ASan] Port tests to Fuchsia 2020-11-18 13:36:12 -08:00
thread_contention.cpp [GWP-ASan] Crash Handler API. 2020-02-05 15:39:17 -08:00