[llvm-dev] lit conditional compilation/checking?

<Alexander G. Riccio> via llvm-dev llvm-dev at lists.llvm.org
Wed Apr 13 13:55:59 PDT 2016

How can I platform-conditionally compile/check sections of code with lit?
Can I rely on preprocessor defines like _WIN32?

Specifically, I'm adding new tests to existing lit tests, but the new tests
should only be compiled and run on Windows.

Alexander Riccio
"Change the world or go home."

If left to my own devices, I will build more.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160413/089aac07/attachment.html>

More information about the llvm-dev mailing list