Revert "Downgrade to clang-4.0 to avoid false-positive warnings from clang" [skip appveyor] (#10487)

This reverts commit 2cbac719c3.
This commit is contained in:
Daniel Hahler
2019-07-18 08:49:37 +02:00
committed by GitHub
parent ba7ec994ae
commit a04e0c8db2
2 changed files with 3 additions and 5 deletions

View File

@@ -34,7 +34,6 @@ env:
- ASAN_OPTIONS="detect_leaks=1:check_initialization_order=1:log_path=$LOG_DIR/asan" - ASAN_OPTIONS="detect_leaks=1:check_initialization_order=1:log_path=$LOG_DIR/asan"
- TSAN_OPTIONS="log_path=$LOG_DIR/tsan" - TSAN_OPTIONS="log_path=$LOG_DIR/tsan"
- UBSAN_OPTIONS="print_stacktrace=1 log_path=$LOG_DIR/ubsan" - UBSAN_OPTIONS="print_stacktrace=1 log_path=$LOG_DIR/ubsan"
- ASAN_SYMBOLIZE=asan_symbolize
# Environment variables for Valgrind. # Environment variables for Valgrind.
- VALGRIND_LOG="$LOG_DIR/valgrind-%p.log" - VALGRIND_LOG="$LOG_DIR/valgrind-%p.log"
# If this file exists, the cache is valid (compile was successful). # If this file exists, the cache is valid (compile was successful).
@@ -62,7 +61,7 @@ addons:
- autoconf - autoconf
- automake - automake
- build-essential - build-essential
- clang-4.0 - clang
- cmake - cmake
- cscope - cscope
- gcc-multilib - gcc-multilib
@@ -88,12 +87,11 @@ jobs:
- stage: baseline - stage: baseline
name: clang-asan name: clang-asan
os: linux os: linux
compiler: clang-4.0 compiler: clang
# Use Lua so that ASAN can test our embedded Lua support. 8fec4d53d0f6 # Use Lua so that ASAN can test our embedded Lua support. 8fec4d53d0f6
env: env:
- CLANG_SANITIZER=ASAN_UBSAN - CLANG_SANITIZER=ASAN_UBSAN
- CMAKE_FLAGS="$CMAKE_FLAGS -DPREFER_LUA=ON" - CMAKE_FLAGS="$CMAKE_FLAGS -DPREFER_LUA=ON"
- ASAN_SYMBOLIZE=asan_symbolize-4.0
- *common-job-env - *common-job-env
- name: gcc-functionaltest-lua - name: gcc-functionaltest-lua
os: linux os: linux

View File

@@ -81,7 +81,7 @@ valgrind_check() {
asan_check() { asan_check() {
if test "${CLANG_SANITIZER}" = "ASAN_UBSAN" ; then if test "${CLANG_SANITIZER}" = "ASAN_UBSAN" ; then
check_logs "${1}" "*san.*" | $ASAN_SYMBOLIZE check_logs "${1}" "*san.*" | asan_symbolize
fi fi
} }