Bug 260079

Summary: Make it possible to override -fsanitize-coverage flags at build time
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Tools / TestsAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 259355    
Bug Blocks:    

Description David Kilzer (:ddkilzer) 2023-08-11 10:46:36 PDT
Make it possible to override -fsanitize-coverage flags at build time.

To do this, we'll introduce a `WK_LIBFUZZER_COVERAGE` variable in `Configurations/Sanitizers.xcconfig` that defaults to:

    WK_LIBFUZZER_COVERAGE = inline-8bit-counters,trace-cmp;

Specifying a different value via `make [...] WK_LIBFUZZER_COVERAGE=...` will override that setting.
Comment 1 Radar WebKit Bug Importer 2023-08-11 10:46:57 PDT
<rdar://problem/113759381>
Comment 2 David Kilzer (:ddkilzer) 2023-08-11 11:06:40 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16613
Comment 3 EWS 2023-08-12 10:23:15 PDT
Committed 266846@main (a4d949231543): <https://commits.webkit.org/266846@main>

Reviewed commits have been landed. Closing PR #16613 and removing active labels.