This is an archive of the discontinued LLVM Phabricator instance.

[utils] Add exact check to check_cfc.py dash_s_no_change
ClosedPublic

Authored by russell.gallop on Jun 2 2015, 9:40 AM.

Details

Summary

Files compiled with -via-file-asm should be byte for byte identical to those compiled in the same way without that option. This change adds an exact check to check_cfc.py to spot non-code differences. If there is a difference, the check then compares code and debug to try and report more detail on the check failure.

This could be helpful in finding bugs like this one: https://llvm.org/bugs/show_bug.cgi?id=14524

Running the llvm-test-suite there are dash_s_no_change check failures (as of r238815) but not failures in check_cfc.py or new failures introduced by this change. I will report bugs for these check failures.

Please let me know if okay to commit?

Diff Detail

Event Timeline

russell.gallop retitled this revision from to [utils] Add exact check to check_cfc.py dash_s_no_change.
russell.gallop updated this object.
russell.gallop edited the test plan for this revision. (Show Details)
russell.gallop added subscribers: dblaikie, Unknown Object (MLST).
russell.gallop accepted this revision.Jun 3 2015, 7:43 AM
russell.gallop added a reviewer: russell.gallop.
This revision is now accepted and ready to land.Jun 3 2015, 7:43 AM
russell.gallop closed this revision.Jun 3 2015, 7:43 AM

Thanks for the review Rafael.

Commited revision 238926.