summaryrefslogtreecommitdiff
path: root/lib/ubsan
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-08-27 22:23:27 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-08-27 22:23:27 +0000
commit7eedde663ebef4e9d1d287efd568c9cd7094811f (patch)
treee4c74d994bfcd147e6ee4cc2f55f932be45f9bb1 /lib/ubsan
parentb980cb13021238b0a6ff304a853c7fb919c297fc (diff)
downloadcompiler-rt-7eedde663ebef4e9d1d287efd568c9cd7094811f.tar.gz
[CMake] Unify build rules for sanitizer_common for Apple and non-Apple platforms.
Additionally, link safestack runtime on OS X with nolibc version of sanitizer_common runtime, as we do on Linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@246227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ubsan')
-rw-r--r--lib/ubsan/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ubsan/CMakeLists.txt b/lib/ubsan/CMakeLists.txt
index e7b1c988d..5ece9a62c 100644
--- a/lib/ubsan/CMakeLists.txt
+++ b/lib/ubsan/CMakeLists.txt
@@ -57,6 +57,7 @@ if(APPLE)
OBJECT_LIBS RTUbsan
RTUbsan_standalone
RTSanitizerCommon
+ RTSanitizerCommonLibc
PARENT_TARGET ubsan)
endif()