OSDN Git Service

[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)
commit2bed43d4e5041b8fd395c5069ed382c5cff85e3c
treea5aa31d9a5e8596f8057446873035080c6ade0b7
parenta550ed7e780ae49a20553f0c21118117305d22a5
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358935 91177308-0d34-0410-b5e6-96231b3b80d8
runtimes/CMakeLists.txt