This is an archive of the discontinued LLVM Phabricator instance.

[clang][deps] Make clang-scan-deps write modules in raw format
ClosedPublic

Authored by benlangmuir on May 2 2023, 1:59 PM.

Details

Summary

We have no use for debug info for the scanner modules, and writing raw ast files speeds up scanning ~15% in some cases. Note that the compile commands produced by the scanner will still build the obj format (if requested), and the scanner can *read* obj format pcms, e.g. from a PCH.

rdar://108807592

Diff Detail

Event Timeline

benlangmuir created this revision.May 2 2023, 1:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 2 2023, 1:59 PM
Herald added a subscriber: arphaman. · View Herald Transcript
benlangmuir requested review of this revision.May 2 2023, 1:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 2 2023, 1:59 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald TranscriptMay 2 2023, 3:43 PM
Herald added a subscriber: kadircet. · View Herald Transcript
This revision is now accepted and ready to land.May 3 2023, 11:23 AM