Bug 267706

Summary: Stop using scan-build to run the clang static analyzer
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   

David Kilzer (:ddkilzer)
Reported 2024-01-18 09:37:35 PST
Stop using scan-build to generate clang static analyzer results. Using `xcodebuild build analyze` with `scan-build` resulted in duplicate analysis of every source file, which (at least) doubled the time it took to run the clang static analyzer. By switching to `xcodebuild analyze` and only invoking `scan-build` to generate the final index, we should cut the static analyzer run time in half.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-01-18 09:37:52 PST
David Kilzer (:ddkilzer)
Comment 2 2024-01-18 10:21:42 PST
EWS
Comment 3 2024-01-25 09:12:59 PST
Committed 273508@main (9af27cfcc6c0): <https://commits.webkit.org/273508@main> Reviewed commits have been landed. Closing PR #22923 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.