summaryrefslogtreecommitdiff
path: root/lib/msan
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2018-05-09 21:24:06 +0000
committerPetr Hosek <phosek@chromium.org>2018-05-09 21:24:06 +0000
commit6d822c4e3a08225b984f971149746b1b5273dea5 (patch)
tree15fe78d06d3c13d9141557d9b72f446682391e0e /lib/msan
parente025663e073ae23b2eaeedeac0f341489fc9ad94 (diff)
[CMake] Build shared version of runtimes for Fuchsia
Fuchsia is no longer treated as UNIX which means we need to explicitly enable building of shared versions of runtimes. Differential Revision: https://reviews.llvm.org/D46609 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@331922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan')
-rw-r--r--lib/msan/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msan/CMakeLists.txt b/lib/msan/CMakeLists.txt
index fa8d8e1a0..30566c4a4 100644
--- a/lib/msan/CMakeLists.txt
+++ b/lib/msan/CMakeLists.txt
@@ -54,7 +54,7 @@ foreach(arch ${MSAN_SUPPORTED_ARCH})
PARENT_TARGET msan)
list(APPEND MSAN_RUNTIME_LIBRARIES clang_rt.msan-${arch}
clang_rt.msan_cxx-${arch})
- if(UNIX)
+ if(SANITIZER_USE_SYMBOLS)
add_sanitizer_rt_symbols(clang_rt.msan
ARCHS ${arch}
EXTRA msan.syms.extra)