Bug 260079 - Make it possible to override -fsanitize-coverage flags at build time
Summary: Make it possible to override -fsanitize-coverage flags at build time
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on: 259355
Blocks:
  Show dependency treegraph
 
Reported: 2023-08-11 10:46 PDT by David Kilzer (:ddkilzer)
Modified: 2023-08-12 10:23 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.