1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/unittests/ExecutionEngine/JIT
Chandler Carruth f372f64b71 Completely refactor the structuring of unittest CMake files to match the
Makefiles, the CMake files in every other part of the LLVM tree, and
sanity.

This should also restore the output tree structure of all the unit
tests, sorry for breaking that, and thanks for letting me know.

The fundamental change is to put a CMakeLists.txt file in the unittest
directory, with a single test binary produced from it. This has several
advantages:

- No more weird directory stripping in the unittest macro, allowing it
  to be used more readily in other projects.
- No more directory prefixes on all the source files.
- Allows correct and precise use of LLVM's per-directory dependency
  system.
- Allows use of the checking logic for source files that have not been
  added to the CMake build. This uncovered a file being skipped with
  CMake in LLVM and one in Clang's unit tests.
- Makes Specifying conditional compilation or other custom logic for JIT
  tests easier.

It did require adding the concept of an explicit 'optional' source file
to the CMake build so that the missing-file check can skip cases where
the file is *supposed* to be missing. =]

This is another chunk of refactoring the CMake build in order to make it
usable for other clients like CompilerRT / ASan / TSan.

Note that this is interdependent with a Clang CMake change.

llvm-svn: 158909
2012-06-21 09:51:26 +00:00
..
CMakeLists.txt Completely refactor the structuring of unittest CMake files to match the 2012-06-21 09:51:26 +00:00
IntelJITEventListenerTest.cpp Follow-up to r152620: restore JIT event listener tests to unittest/ExecutionEngine/JIT 2012-03-15 06:49:31 +00:00
JITEventListenerTest.cpp Follow-up to r152620: restore JIT event listener tests to unittest/ExecutionEngine/JIT 2012-03-15 06:49:31 +00:00
JITEventListenerTestCommon.h Follow-up to r152620: restore JIT event listener tests to unittest/ExecutionEngine/JIT 2012-03-15 06:49:31 +00:00
JITMemoryManagerTest.cpp
JITTest.cpp Disable JITTest.FunctionIsRecompiledAndRelinked and JITTest.NoStubs 2012-05-16 19:07:55 +00:00
JITTests.def
Makefile Fix missed files in JIT unittests Makefile 2012-03-29 18:53:15 +00:00
MultiJITTest.cpp unittests/MultiJITTest.cpp: Tweak how to check symbol value for Win32 --enable-shared. 2011-11-09 08:30:43 +00:00
OProfileJITEventListenerTest.cpp Follow-up to r152620: restore JIT event listener tests to unittest/ExecutionEngine/JIT 2012-03-15 06:49:31 +00:00