print stack trace for UBSAN errors / enabled detect_stack_use_after_return for ASAN (#2252)
This commit is contained in:
parent
42470d91bb
commit
3db828b46e
|
@ -11,6 +11,8 @@ env:
|
|||
# unfortunately we need this to stay within 50min timelimit given by travis.
|
||||
- CXXFLAGS="${ORIGINAL_CXXFLAGS} -O2 -march=native -Wstrict-aliasing=2 -Werror=strict-aliasing"
|
||||
- CPPCHECK=${TRAVIS_BUILD_DIR}/cppcheck
|
||||
- ASAN_OPTIONS=detect_stack_use_after_return=1
|
||||
- UBSAN_OPTIONS=print_stacktrace=1
|
||||
matrix:
|
||||
- CXXFLAGS="${CXXFLAGS} -DCHECK_INTERNAL"
|
||||
- CXXFLAGS="${CXXFLAGS} -DCHECK_INTERNAL" MAKEFLAGS="HAVE_RULES=yes" MATCHCOMPILER=yes VERIFY=1
|
||||
|
|
Loading…
Reference in New Issue