Commit 8e90e86c authored by Ondřej Surý's avatar Ondřej Surý

Disable nonnull-attribute check for UBSAN

parent 14b554ec
......@@ -196,7 +196,7 @@ test:debian:unstable:amd64:asan:
build:debian:unstable:amd64:ubsan:
variables:
CC: clang-6.0
CFLAGS: "-fsanitize=undefined -g -O2"
CFLAGS: "-fsanitize=undefined -fno-sanitize=nonnull-attribute -g -O2"
LDFLAGS: "-fsanitize=undefined"
UBSAN_SYMBOLIZER_PATH: /usr/bin/llvm-symbolizer-6.0
UBSAN_OPTIONS: print_stacktrace=1
......@@ -206,7 +206,7 @@ build:debian:unstable:amd64:ubsan:
test:debian:unstable:amd64:ubsan:
variables:
CC: clang-6.0
CFLAGS: "-fsanitize=undefined -g -O2"
CFLAGS: "-fsanitize=undefined -fno-sanitize=nonnull-attribute -g -O2"
LDFLAGS: "-fsanitize=undefined"
UBSAN_SYMBOLIZER_PATH: /usr/bin/llvm-symbolizer-6.0
UBSAN_OPTIONS: print_stacktrace=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment