summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_flags.inc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/asan/asan_flags.inc')
-rw-r--r--compiler-rt/lib/asan/asan_flags.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/asan_flags.inc b/compiler-rt/lib/asan/asan_flags.inc
index f2216c2e9b3..19ebc696edc 100644
--- a/compiler-rt/lib/asan/asan_flags.inc
+++ b/compiler-rt/lib/asan/asan_flags.inc
@@ -79,6 +79,10 @@ ASAN_FLAG(
"Number of seconds to sleep between printing an error report and "
"terminating the program. Useful for debugging purposes (e.g. when one "
"needs to attach gdb).")
+ASAN_FLAG(
+ int, sleep_after_init, 0,
+ "Number of seconds to sleep after AddressSanitizer is initialized. "
+ "Useful for debugging purposes (e.g. when one needs to attach gdb).")
ASAN_FLAG(bool, check_malloc_usable_size, true,
"Allows the users to work around the bug in Nvidia drivers prior to "
"295.*.")
OpenPOWER on IntegriCloud