Skip to content

Commit

Permalink
Link ASan statically
Browse files Browse the repository at this point in the history
- prevents error discussed here:
  google/sanitizers#796
  • Loading branch information
John McFarlane committed Feb 2, 2020
1 parent a2dd708 commit 624a688
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,12 @@ workflows:
version: 2
test:
jobs:
- "coverage-gcc"
- "clang-static-analyzer-gcc"
- "clang-tidy-gcc"
- "cppcheck-gcc"
# - "coverage-gcc"
# - "clang-static-analyzer-gcc"
# - "clang-tidy-gcc"
# - "cppcheck-gcc"
- "sanitize-gcc"
- "valgrind-gcc"
- "clang-tidy-clang"
# - "valgrind-gcc"
# - "clang-tidy-clang"
- "sanitize-clang"
- "shellcheck"
# - "shellcheck"
1 change: 1 addition & 0 deletions scripts/sanitize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ set -eo pipefail
PROJECT_DIR=$(cd "$(dirname "$0")"/..; pwd)
BITS_DIR=${PROJECT_DIR}/scripts/bits
export LSAN_OPTIONS=verbosity=1:log_threads=1
export ASAN_OPTIONS=verify_asan_link_order=0

"${BITS_DIR}/init.sh"

Expand Down

0 comments on commit 624a688

Please sign in to comment.