This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Don't preprocess source files when reproducing linker crashes
ClosedPublic

Authored by abrachet on Nov 2 2022, 2:31 PM.

Details

Summary

It's not necessary to redo the source file preprocessing for reproducing linker
crashes because we must have successfully created the object file by this point.
Skip this step, and also don't report the preprocessed source file or create
the clang invocation shell script. The latter is no longer sensible without the
preprocessed source, or helpful given the linker reproducer will have it's own
shell script.

Diff Detail

Event Timeline

abrachet created this revision.Nov 2 2022, 2:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 2 2022, 2:31 PM
abrachet requested review of this revision.Nov 2 2022, 2:31 PM
thakis accepted this revision.Nov 2 2022, 5:07 PM

Thanks!

This revision is now accepted and ready to land.Nov 2 2022, 5:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 2 2022, 5:13 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript