llvm-6502/unittests
Ulrich Weigand 1218bc4fe6 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.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181200 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-06 16:10:35 +00:00
..
ADT
Analysis
Bitcode
DebugInfo
ExecutionEngine Simplify JIT unit test #ifdefs 2013-05-06 16:10:35 +00:00
IR Add missing PatternMatch.cpp to CMakeLists.txt 2013-05-05 02:14:28 +00:00
Option
Support Try to fix ProgramTest on FreeBSD 2013-04-30 04:30:41 +00:00
Transforms
CMakeLists.txt
Makefile
Makefile.unittest