This is an archive of the discontinued LLVM Phabricator instance.

[clang][Driver] Pick the last --driver-mode in case of multiple ones
ClosedPublic

Authored by kadircet on Sep 7 2021, 6:17 AM.

Details

Summary

This was an accidental behaviour change in D106789 and this patch
restores it back to original state.

Diff Detail

Event Timeline

kadircet requested review of this revision.Sep 7 2021, 6:17 AM
kadircet created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptSep 7 2021, 6:17 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision was not accepted when it landed; it landed in state Needs Review.Sep 7 2021, 6:34 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
hans added a comment.Sep 7 2021, 6:37 AM

Thanks! I tried this locally and it fixes the issue I mentioned on D109361

FYI, I've also requested cherry-pick into 13 release in https://bugs.llvm.org/show_bug.cgi?id=51779.

hans added a comment.Sep 10 2021, 8:04 AM

Thanks! I tried this locally and it fixes the issue I mentioned on D109361

Corection: it fixes the issue that that I mentioned on D106789 obviously.