This is an archive of the discontinued LLVM Phabricator instance.

PLEASE DO NOT COMMENT ON THIS PATCH
AbandonedPublic

Authored by cjdb on Mar 6 2023, 3:17 PM.

Details

Reviewers
None
Summary

This is one of two alternative designs that Clang can adopt when writing
SARIF to file. In this design, the Clang driver will bundle all of the
individual SARIF files into a directory called <target>_sarif, with
the files being enumerated in order of compilation.

Please discuss the design of this patch over at
https://discourse.llvm.org/t/adding-options-for-clang-to-write-diagnostics-to-file/67762/,
alongside <OTHER CL>, so that we can incorporate one of them into D145284.
I ask that commentary regarding the implementation be held off until
either this patch or <OTHER CL> is integrated into D145284.

Depends on D145284.

Diff Detail

Event Timeline

cjdb created this revision.Mar 6 2023, 3:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2023, 3:17 PM
cjdb requested review of this revision.Mar 6 2023, 3:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2023, 3:17 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
cjdb abandoned this revision.Mar 10 2023, 5:20 PM