1#ifndef BORINGSSL_LIBCXX_CONFIG_SITE_ 2#define BORINGSSL_LIBCXX_CONFIG_SITE_ 3 4#define _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS 5 6#if defined(__APPLE__) 7#define _LIBCPP_PSTL_BACKEND_LIBDISPATCH 8#else 9#define _LIBCPP_PSTL_BACKEND_STD_THREAD 10#endif 11 12// We only use our custom libc++ for testing, so enable all checks. 13#define _LIBCPP_HARDENING_MODE _LIBCPP_HARDENING_MODE_DEBUG 14 15// libc++ headers disable std::string ASan annotations if this is not defined. 16// This is to avoid false positives when libc++'s runtime components are 17// uninstrumented. When building our custom libc++, libc++ will be as 18// instrumented as the caller, so we can safely enable this. 19#define _LIBCPP_INSTRUMENTED_WITH_ASAN 20 21#endif // BORINGSSL_LIBCXX_CONFIG_SITE_ 22