We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 131fa6e commit 8f330c0Copy full SHA for 8f330c0
1 file changed
test/run_tests.sh
@@ -26,7 +26,7 @@ test_bins="test_butil test_bvar bthread*unittest brpc*unittest"
26
for test_bin in $test_bins; do
27
test_num=$((test_num + 1))
28
>&2 echo "[runtest] $test_bin"
29
- ASAN_OPTIONS="detect_leaks=0" ./$test_bin
+ ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1" ./$test_bin
30
# If ASan abort without detailed call stack of new/delete,
31
# try to disable fast_unwind_on_malloc, which would be a performance killer.
32
# ASAN_OPTIONS="fast_unwind_on_malloc=0:detect_leaks=0" ./$test_bin
0 commit comments