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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to