llvm-project/compiler-rt/cmake/Modules
Dean Michael Berris f578aaa058 [XRay] Clean up XRay build configuration
Summary:
This change spans both LLVM and compiler-rt, where we do the following:

- Add XRay to the LLVMBuild system, to allow for distributing the XRay
  trace loading library along with the LLVM distributions.

- Use `llvm-config` better in the compiler-rt XRay implementation, to
  depend on the potentially already-distributed LLVM XRay library.

While this is tested with the standalone compiler-rt build, it does
require that the LLVMXRay library (and LLVMSupport as well) are
available during the build. In case the static libraries are available,
the unit tests will build and work fine. We're still having issues with
attempting to use a shared library version of the LLVMXRay library since
the shared library might not be accessible from the standard shared
library lookup paths.

The larger change here is the inclusion of the LLVMXRay library in the
distribution, which allows for building tools around the XRay traces and
profiles that the XRay runtime already generates.

Reviewers: echristo, beanz

Subscribers: mgorny, hiraditya, mboerger, llvm-commits

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

llvm-svn: 342859
2018-09-24 05:28:01 +00:00
..
AddCompilerRT.cmake [XRay][compiler-rt] FDRLogWriter Abstraction 2018-09-20 05:22:37 +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] Clean up XRay build configuration 2018-09-24 05:28:01 +00:00
HandleCompilerRT.cmake [CMake] Cleanup find_compiler_rt_library function [NFC] 2018-05-17 20:35:55 +00:00
SanitizerUtils.cmake [CMake] Fix bug in `add_weak_symbols()` function. 2018-08-13 12:59:38 +00:00