This is an archive of the discontinued LLVM Phabricator instance.

[clang][IFS] Claiming -emit-merged-ifs in clang driver when -c is used.
AbandonedPublic

Authored by plotfi on Nov 28 2019, 11:54 PM.

Details

Reviewers
compnerd
Summary

Sometimes it is difficult to tell when you want your compile flags to be invoked with -emit-interface-stubs -c or with -emit-interface-stubs -emit-merged-ifs. On -Werror builds -emit-interface-stubs -emit-merged-ifs -c causes build errors. I think for now we can claim -emit-merged-ifs.

Diff Detail

Event Timeline

plotfi created this revision.Nov 28 2019, 11:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 28 2019, 11:54 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript

The commit message doesn't really explain much. Why simply consume the argument? Why not actually halt the build since this clearly is conflicting, and its unclear what the user intended.

plotfi abandoned this revision.Dec 6 2019, 5:51 PM

This commit is no good. I got some wrong inspiration from a lot of the code claiming random args in the driver. abandoning.