aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorFabian Meumertzheim <meumertzheim@code-intelligence.com>2021-08-10 21:09:43 +0200
committerFabian Meumertzheim <fabian@meumertzhe.im>2021-08-11 19:10:05 +0200
commite4f4fc0aef5000a3de19ede676de465976c9548c (patch)
tree35867ddc600115127a48f127927167f25c4a7b4a /examples
parent016c0adda7cb1a1ab7850abdd9229037d9097bda (diff)
downloadjazzer-api-e4f4fc0aef5000a3de19ede676de465976c9548c.tar.gz
Link the UBSan C++ runtime library
Since Bazel uses clang as its linker instead of clang++, the UBSan C++ runtime library is not linked automatically. We request it explicitly.
Diffstat (limited to 'examples')
-rw-r--r--examples/src/main/native/BUILD.bazel2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/src/main/native/BUILD.bazel b/examples/src/main/native/BUILD.bazel
index 12bbc120..255e3509 100644
--- a/examples/src/main/native/BUILD.bazel
+++ b/examples/src/main/native/BUILD.bazel
@@ -28,8 +28,6 @@ cc_shared_library(
copts = [
"-fsanitize=fuzzer-no-link,undefined",
"-fno-sanitize-recover=all",
- # Workaround for https://github.com/bazelbuild/bazel/issues/11122.
- "-fno-sanitize=vptr,function",
],
linkopts = select({
"@platforms//os:linux": ["-fuse-ld=lld"],