Skip to content

Commit eda2dae

Browse files
committed
[sanitizer] Use print_stacktrace with asan_ubsan
1 parent b911ecf commit eda2dae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zorg/buildbot/builders/sanitizers/buildbot_functions.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ function build_stage2 {
280280
elif [ "$sanitizer_name" == "asan_ubsan" ]; then
281281
export ASAN_SYMBOLIZER_PATH="${llvm_symbolizer_path}"
282282
export ASAN_OPTIONS="check_initialization_order=true"
283+
export UBSAN_OPTIONS="print_stacktrace=1"
283284
llvm_use_sanitizer="Address;Undefined"
284285
fsanitize_flag="-fsanitize=address,undefined"
285286
# FIXME: After switching to LLVM_ENABLE_RUNTIMES, vptr has infitine

0 commit comments

Comments
 (0)