mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
705 B
12 lines
705 B
2 years ago
|
build --cxxopt=-std=c++14 --host_cxxopt=-std=c++14
|
||
|
|
||
|
build:asan --copt=-fsanitize=address --linkopt=-fsanitize=address
|
||
|
build:msan --copt=-fsanitize=memory --linkopt=-fsanitize=memory
|
||
|
build:tsan --copt=-fsanitize=thread --linkopt=-fsanitize=thread
|
||
|
build:ubsan --copt=-fsanitize=undefined --linkopt=-fsanitize=undefined --action_env=UBSAN_OPTIONS=halt_on_error=1:print_stacktrace=1
|
||
|
# Workaround for the fact that Bazel links with $CC, not $CXX
|
||
|
# https://github.com/bazelbuild/bazel/issues/11122#issuecomment-613746748
|
||
|
build:ubsan --copt=-fno-sanitize=function --copt=-fno-sanitize=vptr
|
||
|
# Workaround for https://bugs.llvm.org/show_bug.cgi?id=16404
|
||
|
build:ubsan --linkopt=--rtlib=compiler-rt --linkopt=-lunwind
|