X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=enablesanitizers.sh;h=aedb95d0d6b64e36eeab192686500b60708c8087;hb=69a62b8aff04b915b955fd39c565267fbd528518;hp=2937b0b2f40f302f13194ed94c16d9c7623b393c;hpb=acbf8000414302f6e587bc2511c1e52dea52b9fa;p=platform%2Fupstream%2Fcoreclr.git diff --git a/enablesanitizers.sh b/enablesanitizers.sh index 2937b0b..aedb95d 100755 --- a/enablesanitizers.sh +++ b/enablesanitizers.sh @@ -83,8 +83,9 @@ else unset DEBUG_SANITIZERS echo "Setting DEBUG_SANITIZERS=" else - # for now, specify alloc_dealloc_mismatch=0 as there are too many error reports that are not an issue - ASAN_OPTIONS="symbolize=1 alloc_dealloc_mismatch=0" + # for now, specify alloc_dealloc_mismatch=0 as there are too many error reports that are not an issue. + # Also specify use_sigaltstack=0 as coreclr uses own alternate stack for signal handlers + ASAN_OPTIONS="symbolize=1 alloc_dealloc_mismatch=0 use_sigaltstack=0" # when Clang 3.8 available, add: suppressions=$(readlink -f sanitizersuppressions.txt) UBSAN_OPTIONS="print_stacktrace=1" @@ -132,4 +133,4 @@ else unset __EnableLSan unset __TurnOff unset __Options -fi \ No newline at end of file +fi