llvm-project/compiler-rt/cmake/Modules
Michal Gorny 1e8e4fc834 [xray] [tests] Detect and handle missing LLVMTestingSupport gracefully
Add a code to properly test for presence of LLVMTestingSupport library
when performing a stand-alone build, and skip tests requiring it when
it is not present.  Since the library is not installed, llvm-config
reported empty --libs for it and the tests failed to link with undefined
references.  Skipping the two fdr_* test files is better than failing to
build, and should be good enough until we find a better solution.

NB: both installing LLVMTestingSupport and building it automatically
from within compiler-rt sources are non-trivial.  The former due to
dependency on gtest, the latter due to tight integration with LLVM
source tree.

Differential Revision: https://reviews.llvm.org/D55891

llvm-svn: 349899
2018-12-21 13:37:30 +00:00
..
AddCompilerRT.cmake [compiler-rt] Support for passing through linker flags to libc++ build 2018-11-03 01:38:26 +00:00
BuiltinTests.cmake Really fix warnings about passing -std=gnu99 to MSVC 2016-09-08 16:25:34 +00:00
CompilerRTCompile.cmake [cmake] Fix skipping DEPS (typo) in sanitizer_test_compile() 2017-10-12 18:51:37 +00:00
CompilerRTDarwinUtils.cmake [CMake] Tidy up the organisation of compiler-rt when configured as a standalone 2018-06-27 12:56:34 +00:00
CompilerRTLink.cmake Make cmake link flag naming consistent 2017-01-10 04:33:04 +00:00
CompilerRTUtils.cmake [xray] [tests] Detect and handle missing LLVMTestingSupport gracefully 2018-12-21 13:37:30 +00:00
HandleCompilerRT.cmake [CMake] Add a missing case of TO_CMAKE_PATH 2018-11-27 09:23:15 +00:00
SanitizerUtils.cmake [CMake] Fix bug in `add_weak_symbols()` function. 2018-08-13 12:59:38 +00:00