~rcr/rirc

ref: 3edc5a832c66e6515c1317148d3be6da3e45700e rirc/scripts/sanitizers_test.sh -rwxr-xr-x 268 bytes
3edc5a83 — Richard Robbins fix scripts, add compile flags to make output 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

set -e

export CC=clang
export CFLAGS_DEBUG="-fsanitize=address,undefined -fno-omit-frame-pointer"
export LDFLAGS="-fsanitize=address,undefined -fuse-ld=lld"

# for core dumps:
# export ASAN_OPTIONS="abort_on_error=1:disable_coredump=0"

make clean check