Skip to content

Commit 632bb2e

Browse files
committed
[sanitizer] Add TODO about strict init order
1 parent 1a69886 commit 632bb2e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zorg/buildbot/builders/sanitizers/buildbot_functions.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ function build_stage2 {
295295
fsanitize_flag="-fsanitize=memory -fsanitize-memory-track-origins"
296296
elif [ "$sanitizer_name" == "asan" ]; then
297297
export ASAN_SYMBOLIZER_PATH="${llvm_symbolizer_path}"
298+
# TODO strict_init_order=true
298299
export ASAN_OPTIONS="check_initialization_order=true"
299300
export ASAN_OPTIONS+=":log_path=${log_path}:log_exe_name=1"
300301
llvm_use_sanitizer="Address"
@@ -316,6 +317,7 @@ function build_stage2 {
316317
# recursion.
317318
fno_sanitize_flag+=" -fno-sanitize=vptr"
318319
elif [ "$sanitizer_name" == "asan_ubsan" ]; then
320+
# TODO strict_init_order=true
319321
export ASAN_SYMBOLIZER_PATH="${llvm_symbolizer_path}"
320322
export ASAN_OPTIONS="check_initialization_order=true"
321323
export ASAN_OPTIONS+=":log_path=${log_path}:log_exe_name=1"

0 commit comments

Comments
 (0)