Skip to content

Commit fd9dfe2

Browse files
Add missing CFLAGS to instrument things for fuzzers. (#35082)
-fno-sanitize-coverage=pc-table is added since we are already using inline-8bit-counters and trace-cmp to provide instrumentation for the fuzzers. It also helps reduce memory usage and improve fuzzer performance.
1 parent ddf8b8f commit fd9dfe2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/config/compiler/BUILD.gn

+2
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,8 @@ declare_args() {
415415
config("sanitize_address") {
416416
defines = []
417417
cflags = [
418+
"-fsanitize-coverage=inline-8bit-counters,trace-cmp",
419+
"-fno-sanitize-coverage=pc-table",
418420
"-fsanitize=address",
419421
"-fno-omit-frame-pointer",
420422
]

0 commit comments

Comments
 (0)