Skip to content

Commit bf2b984

Browse files
author
Dane Springmeyer
committed
back off cfi+flto due to odr violations in nan from assert strings
1 parent cb21597 commit bf2b984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/sanitize.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export MSAN_SYMBOLIZER_PATH=$(pwd)/mason_packages/.link/bin/llvm-symbolizer
3535
export UBSAN_OPTIONS=print_stacktrace=1
3636
export LSAN_OPTIONS=suppressions=${SUPPRESSION_FILE}
3737
export ASAN_OPTIONS=detect_leaks=1:symbolize=1:abort_on_error=1:detect_container_overflow=1:check_initialization_order=1:detect_stack_use_after_return=1
38-
export MASON_SANITIZE="-fsanitize=address,undefined,integer,leak,cfi -flto -fvisibility=hidden -fno-sanitize=vptr,function"
38+
export MASON_SANITIZE="-fsanitize=address,undefined,integer,leak -fno-sanitize=vptr,function"
3939
export MASON_SANITIZE_CXXFLAGS="${MASON_SANITIZE} -fno-sanitize=vptr,function -fsanitize-address-use-after-scope -fno-omit-frame-pointer -fno-common"
4040
export MASON_SANITIZE_LDFLAGS="${MASON_SANITIZE}"
4141
# Note: to build without stopping on errors remove the -fno-sanitize-recover=all flag

0 commit comments

Comments
 (0)