This is an archive of the discontinued LLVM Phabricator instance.

[Tooling] When transferring compile commands between files, always use '--'
ClosedPublic

Authored by sammccall on Jan 5 2022, 8:04 PM.

Details

Summary

"driver <flags> -- <input>" is a particularly convenient form of the
compile command to manipulate, with fewer special cases to handle.

Guaranteeing that the output command is of that form is cheap and makes
it easier to consume the result in some cases.

Diff Detail

Event Timeline

sammccall created this revision.Jan 5 2022, 8:04 PM
sammccall requested review of this revision.Jan 5 2022, 8:04 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 5 2022, 8:04 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
kadircet accepted this revision.Jan 7 2022, 6:29 AM

thanks, lgtm!

This revision is now accepted and ready to land.Jan 7 2022, 6:29 AM
This revision was landed with ongoing or failed builds.Jan 10 2022, 4:41 PM
This revision was automatically updated to reflect the committed changes.