check_initialization_order=1
# For whatever reason, stack-use-after-return and leak detection are both stupidly
# expensive on specifically Linux aarch64, which is used in CI. Basic "hello world"
# programs take up to 8-9 seconds (!!) to complete with these options enabled.
#
# So we disable them.
# #if defined(__linux__) && defined(__aarch64__)
detect_stack_use_after_return=0
# #else
detect_stack_use_after_return=1
# #endif
alloc_dealloc_mismatch=1
abort_on_error=1
strict_string_checks=1
color=always
detect_odr_violation=2
# #if LEGATE_DEFINED(LEGATE_USE_CUDA)
protect_shadow_gap=0
# #endif
# #if defined(__linux__) && defined(__aarch64__)
detect_leaks=0
# #endif
# note trailing ":", this is so that user may write ASAN_OPTIONS+="foo:bar:baz"
symbolize=1
