mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-14 19:24:06 +03:00
Disable pointer-overflow UBSan checks under Travis
clang 5 added UBSan checks for pointer overflow which are triggered by an API test.
This commit is contained in:
parent
132af1a0d1
commit
1637d612d1
@ -15,7 +15,7 @@ matrix:
|
|||||||
- compiler: clang
|
- compiler: clang
|
||||||
dist: trusty
|
dist: trusty
|
||||||
env: CONFIG="--without-python"
|
env: CONFIG="--without-python"
|
||||||
CFLAGS="-O2 -g -fno-omit-frame-pointer -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize-recover=all -Werror -Wno-error=unused-function -Wno-error=cast-align"
|
CFLAGS="-O2 -g -fno-omit-frame-pointer -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero,pointer-overflow -fno-sanitize-recover=all -Werror -Wno-error=unused-function -Wno-error=cast-align"
|
||||||
UBSAN_OPTIONS=print_stacktrace=1
|
UBSAN_OPTIONS=print_stacktrace=1
|
||||||
script: sh autogen.sh $CONFIG && make -j2 V=1 && make check
|
script: sh autogen.sh $CONFIG && make -j2 V=1 && make check
|
||||||
git:
|
git:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user