1 // RUN: %clangxx_asan -O2 %s -o %t
2 // RUN: %run %t 2>&1 | FileCheck %s
4 // FIXME: Doesn't work with DLLs
5 // XFAIL: win32-dynamic-asan
7 const char *kAsanDefaultOptions
= "verbosity=1 help=1";
9 // Required for dyld macOS 12.0+
13 __attribute__((no_sanitize_address
))
14 extern "C" const char *
15 __asan_default_options() {
16 // CHECK: Available flags for AddressSanitizer:
17 return kAsanDefaultOptions
;