[compiler-rt] r313519 - [ubsan] Add RTUbsan_standalone into UBSAN standalone shared

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 18 01:04:03 PDT 2017


Author: vitalybuka
Date: Mon Sep 18 01:04:03 2017
New Revision: 313519

URL: http://llvm.org/viewvc/llvm-project?rev=313519&view=rev
Log:
[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.

Modified:
    compiler-rt/trunk/lib/ubsan/CMakeLists.txt

Modified: compiler-rt/trunk/lib/ubsan/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ubsan/CMakeLists.txt?rev=313519&r1=313518&r2=313519&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ubsan/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/ubsan/CMakeLists.txt Mon Sep 18 01:04:03 2017
@@ -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}




More information about the llvm-commits mailing list