[CMake] Replace the sanitizer support in runtimes build with multilib
authorPetr Hosek <phosek@chromium.org>
Mon, 22 Apr 2019 23:31:39 +0000 (23:31 +0000)
committerPetr Hosek <phosek@chromium.org>
Mon, 22 Apr 2019 23:31:39 +0000 (23:31 +0000)
commitfbcce9fe9dc14ea5845d5d294dd8661c6ab94321
tree04a111c0ec951845a6863968598e02d5d2baa8e9
parent05aad1567be10d814e4764965f351b923c755e11
[CMake] Replace the sanitizer support in runtimes build with multilib

This is a more generic solution; while the sanitizer support can be used
only for sanitizer instrumented builds, the multilib support can be used
to build other variants such as noexcept which is what we would like to use
in Fuchsia.

The name CMake target name uses the target name, same as for the regular
runtimes build and the name of the multilib, concatenated with '+'. The
libraries are installed in a subdirectory named after the multilib.

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

llvm-svn: 358935
clang/cmake/caches/Fuchsia-stage2.cmake
llvm/runtimes/CMakeLists.txt