summaryrefslogtreecommitdiff
path: root/lib/ubsan
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2017-09-18 08:04:03 +0000
committerVitaly Buka <vitalybuka@google.com>2017-09-18 08:04:03 +0000
commit7d99e86de41f90564aae1ef0fd588d8f8e290c2f (patch)
tree1720161716e4ac50a9351d0541dbdd5e206017ed /lib/ubsan
parent0af7953049526b89f4c202951afcc5796257645b (diff)
[ubsan] Add RTUbsan_standalone into UBSAN standalone shared
Same as for Apple. This also fixes flags related tests on Android as without this flags are not initialized. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@313519 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 a29c0eed9..e67f5dfe5 100644
--- a/lib/ubsan/CMakeLists.txt
+++ b/lib/ubsan/CMakeLists.txt
@@ -160,6 +160,7 @@ else()
OBJECT_LIBS RTSanitizerCommon
RTSanitizerCommonLibc
RTUbsan
+ RTUbsan_standalone
CFLAGS ${UBSAN_CFLAGS}
LINK_FLAGS ${SANITIZER_COMMON_LINK_FLAGS}
LINK_LIBS ${UBSAN_DYNAMIC_LIBS}