[cfe-commits] [PATCH]Add PNaCl TargetInfo to Clang

Eric Christopher echristo at apple.com
Tue Aug 23 19:13:37 PDT 2011


On Aug 23, 2011, at 6:09 PM, Ivan Krasin wrote:

> Eric,
> 
> I've added almost comprehensive test. It checks platform defines and
> the sizes of the standard types, including pointer size.
> Thank you for insisting on writing a real test: I've fixed a minor
> issue (forgot to call getArchDefines from getPlatformDefines).
> 
> Please, find the patch attached. You can save your time on checking
> what has been changed from the last patch here:
> http://codereview.chromium.org/7717004/

Looking better. Can you have the test use FileCheck directly instead of calling llvm-dis?

You could even have multiple run lines to check that the compiler used is correct and then just execute another run line to compile the file with a different set of options and then pass that through to FileCheck.

Thanks!

-eric



More information about the cfe-commits mailing list