Commit 26ad10ce authored by Ben Cooksley's avatar Ben Cooksley

Disable detect_container_overflow for ASAN on FreeBSD.

This seems to cause false positives on FreeBSD for Kdenlive

Fixes T10564
parent 741f84e4
Pipeline #1299 skipped with stage
......@@ -70,8 +70,9 @@ def generateFor( installPrefix ):
clonedEnv['ASAN_OPTIONS'] = "detect_leaks=0:new_delete_type_mismatch=0:detect_odr_violation=0:stack-use-after-scope=0:alloc_dealloc_mismatch=0"
# On FreeBSD we also want ASAN to be symbolised to aid in debugging
# Additionally, we disable container overflow detection, as this seems to have generated false positives on FreeBSD
if sys.platform == 'freebsd12':
clonedEnv['ASAN_OPTIONS'] = "detect_leaks=0:new_delete_type_mismatch=0:detect_odr_violation=0:stack-use-after-scope=0:alloc_dealloc_mismatch=0:symbolize=1"
clonedEnv['ASAN_OPTIONS'] = "detect_leaks=0:new_delete_type_mismatch=0:detect_odr_violation=0:stack-use-after-scope=0:alloc_dealloc_mismatch=0:detect_container_overflow=0:symbolize=1"
# All done
return clonedEnv
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment