This is an archive of the discontinued LLVM Phabricator instance.

Improve ccc-analyzer error message
Needs ReviewPublic

Authored by trixirt on Oct 3 2020, 9:41 AM.

Details

Reviewers
dcoughlin
Summary

When ccc-analyzer fails to handle cc args, it outputs only

could not find clang line

To improve this message, print out the errors so now the output
looks like

could not find clang line
Please check errors
clang-12: error: unknown argument: '-fno-ipa-cp-clone'
clang-12: error: unknown argument: '-fno-partial-inlining'

Diff Detail

Event Timeline

trixirt created this revision.Oct 3 2020, 9:41 AM
trixirt requested review of this revision.Oct 3 2020, 9:41 AM