Bug 267706
| Summary: | Stop using scan-build to run the clang static analyzer | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | Tools / Tests | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/121199337>
David Kilzer (:ddkilzer)
Pull request: https://github.com/WebKit/WebKit/pull/22923
EWS
Committed 273508@main (9af27cfcc6c0): <https://commits.webkit.org/273508@main>
Reviewed commits have been landed. Closing PR #22923 and removing active labels.