1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 14:02:52 +02:00
llvm-mirror/unittests/ExecutionEngine
Ulrich Weigand 64a9e145f1 Simplify JIT unit test #ifdefs
Several platforms need to disable all old-JIT unit tests, since they only
support the new MCJIT.  This currently done via #ifdef'ing out those tests
in the ExecutionEngine/JIT/*.cpp files.  As those #ifdef's have grown
historically, we now have a number of repeated directives which -in total-
cover nearly the whole file, but leave a couple of helper functions out.
When building the tests with clang itself, those helper functions now
cause spurious "unused function" warnings.

To fix those warnings, and also to remove the duplicate #ifdef conditions
and make it easier to disable the tests for a new target, this patch
consolidates the #ifdefs into a single one per file, which covers all
the tests including all helper routines.

Tested on PowerPC and SystemZ.

llvm-svn: 181200
2013-05-06 16:10:35 +00:00
..
JIT Simplify JIT unit test #ifdefs 2013-05-06 16:10:35 +00:00
MCJIT This exposes more MCJIT options via the C API: 2013-05-01 22:58:00 +00:00
CMakeLists.txt Disable JIT/MCJIT tests in unittests/ExecutionEngine for the targets that don't support JIT. 2013-03-28 03:38:29 +00:00
ExecutionEngineTest.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
Makefile Enable JIT/MCJIT unit tests for targets with JIT support. 2013-04-05 14:26:16 +00:00