-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bazelrc
25 lines (23 loc) · 816 Bytes
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Address sanitizer configuration.
# ASAN_SYMBOLIZER_PATH=/usr/local/Cellar/llvm/13.0.0_1/bin/llvm-symbolizer
# Address sanitizer config
# Use with bazel run --config=asan or lsan
build:asan --strip=never
build:asan --copt -fsanitize=address
build:asan --copt -DADDRESS_SANITIZER
build:asan --copt -O0
build:asan --copt -g
build:asan --copt -fno-omit-frame-pointer
build:asan --linkopt -fsanitize=address
build:asan --sandbox_debug
build:asan --spawn_strategy=standalone
# undefined behavior sanitizer config
build:ubsan --strip=never
build:ubsan --copt -fsanitize=undefined
build:ubsan --copt -DADDRESS_SANITIZER
build:ubsan --copt -O0
build:ubsan --copt -g
build:ubsan --copt -fno-omit-frame-pointer
build:ubsan --linkopt -fsanitize=undefined
build:ubsan --sandbox_debug
build:ubsan --spawn_strategy=standalone