[cfe-commits] r133130 - in /cfe/trunk/test: Makefile lit.site.cfg.in

Andrew Trick atrick at apple.com
Wed Jun 15 22:51:25 PDT 2011


On Jun 15, 2011, at 10:25 PM, Eric Christopher wrote:

> 
> On Jun 15, 2011, at 6:32 PM, Andrew Trick wrote:
> 
>> Update clang's lit.site.cfg.in in preparation for adding config.llvm_build_modes.
> 
> Ur?
> 
> What do you have planned here?
> 
> -eric

See r133131. I'm not too particular how we make lit aware of the build modes. I went through plenty of other ideas before settling on this way.

Incidentally, I tried to figure out how to construct RUN line that incorporates llvm-config --build-mode, but couldn't make it work. Anyway, adding a REQUIRES line to a test is much cleaner.

If you're wondering about the motivation, I want to test NDEBUG code and add stress testing modes that don't make sense to build with the release.

-Andy



More information about the cfe-commits mailing list