This is a tool for checking consistency of code generation with different compiler options (such as -g or outputting to .s). This tool has been used internally to Sony Computer Entertainment for a while. It has found a number of code generation issues (PR18590, 19051, 21807, 22854, 22947 and 22955). As such I thought that this would be beneficial to send upstream and I am presenting a lightning talk and poster about this at Euro LLVM.
The script is very simple. It acts as a wrapper to clang or clang++ but performs 2 (or more) compiles then compares the object files. Instructions for use are in check_cfc.py including how to use with LNT.
This works via the clang driver so I assume that it should live in cfe/trunk/utils (even though it tends to find issues in LLVM). Let me know if this is correct.
Russell Gallop
SN Systems - Sony Computer Entertainment Group