File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,17 @@ matrix:
61
61
packages :
62
62
- gcc-multilib
63
63
- libgmp-dev:i386
64
+ # clang with memory sanitizer
65
+ - compiler : clang
66
+ # --disable-openssl-tests because openssl uses uninitialized memory. ASM
67
+ # and BIGNUM are disabled because clang memory sanitizer does not work
68
+ # with inline assembly (https://clang.llvm.org/docs/MemorySanitizer.html).
69
+ # The memory sanitizer is instructed to exit with a different exit code
70
+ # using MSAN_OPTIONS. This is because the default exit code is 77 - the
71
+ # same exit code that autotools make check interprets as a test that is
72
+ # supposed to be skipped.
73
+ env : EXTRAFLAGS="--disable-openssl-tests CFLAGS=-fsanitize=memory" ASM=no BIGNUM=no EXPERIMENTAL=yes ENDOMORPHISM=yes RECOVERY=yes ECDH=yes MSAN_OPTIONS=exitcode=42
74
+
64
75
before_install : mkdir -p `dirname $GUAVA_JAR`
65
76
install : if [ ! -f $GUAVA_JAR ]; then wget $GUAVA_URL -O $GUAVA_JAR; fi
66
77
before_script : ./autogen.sh
You can’t perform that action at this time.
0 commit comments