This is an archive of the discontinued LLVM Phabricator instance.

Don't pass -mllvm to gcc
AbandonedPublic

Authored by jethrogb on Mar 25 2021, 7:06 AM.

Details

Reviewers
jyknight
MaskRay
Summary

When forwarding command line options to GCC, don't forward -mllvm.

Diff Detail

Event Timeline

jethrogb requested review of this revision.Mar 25 2021, 7:06 AM
jethrogb created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2021, 7:06 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
jethrogb added inline comments.Mar 25 2021, 7:07 AM
clang/test/Driver/gcc_forward.c
9

This is just something I happen to know you can pass to -mllvm. Open to other suggestions.

jethrogb abandoned this revision.Mar 25 2021, 7:09 AM

Actually I think this is fixed in main (was developing against 11.x).