mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
sanitizer compiler flag update
This commit is contained in:
parent
7b7043e5da
commit
2a49a47956
1 changed files with 6 additions and 5 deletions
11
.travis.yml
11
.travis.yml
|
@ -158,11 +158,12 @@ env:
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env:
|
env:
|
||||||
- ASAN_OPTIONS=detect_leaks=0
|
- ASAN_OPTIONS=detect_leaks=0
|
||||||
- cflags='-march=native -fsanitize=address -fno-omit-frame-pointer'
|
- cflags='-march=native -fsanitize=address -fno-omit-frame-pointer -fPIC'
|
||||||
- debugflags=-ggdb3
|
- debugflags=-ggdb3
|
||||||
- optflags=-O1
|
- optflags=-O1
|
||||||
- LD=clang
|
- LD=clang
|
||||||
- LDFLAGS=-fsanitize=address
|
- LDFLAGS='-fsanitize=address -fPIC'
|
||||||
|
- CONFIG_FLAG='--with-out-ext=openssl --without-gmp --without-jemalloc --without-valgrind'
|
||||||
|
|
||||||
- &MSAN
|
- &MSAN
|
||||||
name: -fsanitize=memory
|
name: -fsanitize=memory
|
||||||
|
@ -171,11 +172,11 @@ env:
|
||||||
<<: *make-test-only
|
<<: *make-test-only
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env:
|
env:
|
||||||
- cflags='-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer'
|
- cflags='-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer -fPIC'
|
||||||
- optflags=-O1
|
- optflags=-O1
|
||||||
- LD=clang
|
- LD=clang
|
||||||
- LDFLAGS=-fsanitize=memory
|
- LDFLAGS='-fsanitize=memory -fPIC'
|
||||||
- CONFIG_FLAG=--with-out-ext=openssl
|
- CONFIG_FLAG='--with-out-ext=openssl --without-gmp --without-jemalloc --without-valgrind'
|
||||||
|
|
||||||
- &UBSAN
|
- &UBSAN
|
||||||
name: -fsanitize=undefined
|
name: -fsanitize=undefined
|
||||||
|
|
Loading…
Add table
Reference in a new issue