This is an archive of the discontinued LLVM Phabricator instance.

[utils] Improvements to check_cfc.py to work better with build systems
ClosedPublic

Authored by russell.gallop on Jun 2 2015, 5:58 AM.

Details

Summary

This revision has a couple of small changes to make check_cfc.py made so it works better with build systems.

gcc/clang options which output dependency files instead of object files (e.g. -M, -MM) are identified and checks are not performed in these cases.

When reporting a check failure, the input file name is reported which can help to identify where the problem was in large build logs, particularly with parallel builds.

Please let me know if okay to commit?

Diff Detail

Event Timeline

russell.gallop retitled this revision from to [utils] Improvements to check_cfc.py to work better with build systems.
russell.gallop updated this object.
russell.gallop edited the test plan for this revision. (Show Details)
russell.gallop added a reviewer: rafael.
russell.gallop added a subscriber: Unknown Object (MLST).
This revision was automatically updated to reflect the committed changes.