[PATCH] D24990: [ubsan] Turn on 'Has CXXABI' to enable support for -fsanitize=vptr on Darwin

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 6 09:54:42 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL283466: [ubsan] Turn on 'Has CXXABI' to enable support for -fsanitize=vptr on Darwin (authored by vedantk).

Changed prior to commit:
  https://reviews.llvm.org/D24990?vs=72718&id=73813#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D24990

Files:
  compiler-rt/trunk/CMakeLists.txt


Index: compiler-rt/trunk/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/CMakeLists.txt
+++ compiler-rt/trunk/CMakeLists.txt
@@ -85,6 +85,8 @@
 # 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 @@
 # 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24990.73813.patch
Type: text/x-patch
Size: 748 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161006/b6899b9d/attachment.bin>


More information about the llvm-commits mailing list