Revert "Remove isCastable since nothing uses it now"
[oota-llvm.git] / CMakeLists.txt
index 7697a2b9c59fccf69d615b14bcb3eed6d888c2f6..687176ca5772538f97a3d90e9500c74a5daa1e30 100644 (file)
@@ -183,6 +183,9 @@ endif( LLVM_USE_OPROFILE )
 set(LLVM_USE_SANITIZER "" CACHE STRING
   "Define the sanitizer used to build binaries and tests.")
 
+option(LLVM_USE_SPLIT_DWARF
+  "Use -gsplit-dwarf when compiling llvm." OFF)
+
 # Define an option controlling whether we should build for 32-bit on 64-bit
 # platforms, where supported.
 if( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT WIN32 )