[compiler-rt] r283466 - [ubsan] Turn on 'Has CXXABI' to enable support for -fsanitize=vptr on Darwin
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 6 09:45:40 PDT 2016
Author: vedantk
Date: Thu Oct 6 11:45:40 2016
New Revision: 283466
URL: http://llvm.org/viewvc/llvm-project?rev=283466&view=rev
Log:
[ubsan] Turn on 'Has CXXABI' to enable support for -fsanitize=vptr on Darwin
Differential Revision: https://reviews.llvm.org/D24990
Modified:
compiler-rt/trunk/CMakeLists.txt
Modified: compiler-rt/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/CMakeLists.txt?rev=283466&r1=283465&r2=283466&view=diff
==============================================================================
--- compiler-rt/trunk/CMakeLists.txt (original)
+++ compiler-rt/trunk/CMakeLists.txt Thu Oct 6 11:45:40 2016
@@ -85,6 +85,8 @@ option(COMPILER_RT_EXTERNALIZE_DEBUGINFO
# COMPILER_RT_DEBUG_PYBOOL is used by lit.common.configured.in.
pythonize_bool(COMPILER_RT_DEBUG)
+include(config-ix)
+
if(APPLE AND SANITIZER_MIN_OSX_VERSION VERSION_LESS "10.9")
# Mac OS X prior to 10.9 had problems with exporting symbols from
# libc++/libc++abi.
@@ -102,8 +104,6 @@ pythonize_bool(SANITIZER_CAN_USE_CXXABI)
# Setup Compiler Flags
#================================
-include(config-ix)
-
if(MSVC)
# Override any existing /W flags with /W4. This is what LLVM does. Failing to
# remove other /W[0-4] flags will result in a warning about overriding a
More information about the llvm-commits
mailing list