From 9f00edbdcf8318ef6aeb1b9331354a0652f1f390 Mon Sep 17 00:00:00 2001 From: Dongkyun Son Date: Wed, 18 Jul 2018 08:53:35 +0900 Subject: [PATCH] packaging: add "fast_unwind_on_fatal=1" to asan_runtime_options Change-Id: Ic4ce07fadd8978a329a1ea02a558852a70050c6e Signed-off-by: Dongkyun Son --- packaging/gcc-contrib.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/gcc-contrib.spec b/packaging/gcc-contrib.spec index 01c5ed0..fa930ce 100644 --- a/packaging/gcc-contrib.spec +++ b/packaging/gcc-contrib.spec @@ -47,7 +47,7 @@ %define ubsan_force_options -fsanitize=undefined,bounds-strict,float-divide-by-zero,float-cast-overflow %define isan_force_options -fsanitize=unsigned-integer-overflow %define tsan_force_options -fsanitize=thread -fno-omit-frame-pointer -Wp,-U_FORTIFY_SOURCE -Wl,--as-needed -ldl -lpthread -%define asan_runtime_options halt_on_error=false:start_deactivated=true:print_cmdline=true:quarantine_size_mb=1:detect_leaks=0:handle_segv=0:log_path=/tmp/asan.log:log_exe_name=1 +%define asan_runtime_options halt_on_error=false:start_deactivated=true:print_cmdline=true:quarantine_size_mb=1:detect_leaks=0:handle_segv=0:log_path=/tmp/asan.log:log_exe_name=1:fast_unwind_on_fatal=1 %define ubsan_runtime_options print_cmdline=true:log_path=/tmp/ubsan.log %define lsan_runtime_options print_cmdline=true:detect_leaks=1:log_path=/tmp/lsan.log:log_exe_name=1:fast_unwind_on_malloc=false:malloc_context_size=5:suppressions=/lsan.supp:print_suppressions=false %define tsan_runtime_options print_cmdline=true:log_path=/tmp/tsan.log:detect_deadlocks=1:second_deadlock_stack=1 -- 2.7.4