[libcxx] r237519 - Fix build when libunwind is disabled.

Logan Chien tzuhsiang.chien at gmail.com
Sat May 16 06:10:39 PDT 2015


Author: logan
Date: Sat May 16 08:10:39 2015
New Revision: 237519

URL: http://llvm.org/viewvc/llvm-project?rev=237519&view=rev
Log:
Fix build when libunwind is disabled.

The previous commit breaks the builds when libc++abi is not built with
libunwind becuase the default value for LIBCXXABI_USE_LLVM_UNWINDER is
OFF, which is not pythonized.

This CL fix the problem by calling pythonize_bool().


Modified:
    libcxx/trunk/test/CMakeLists.txt

Modified: libcxx/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/CMakeLists.txt?rev=237519&r1=237518&r2=237519&view=diff
==============================================================================
--- libcxx/trunk/test/CMakeLists.txt (original)
+++ libcxx/trunk/test/CMakeLists.txt Sat May 16 08:10:39 2015
@@ -48,6 +48,7 @@ if (LIT_EXECUTABLE)
   pythonize_bool(LIBCXX_ENABLE_THREADS)
   pythonize_bool(LIBCXX_ENABLE_MONOTONIC_CLOCK)
   pythonize_bool(LIBCXX_GENERATE_COVERAGE)
+  pythonize_bool(LIBCXXABI_USE_LLVM_UNWINDER)
 
   # The tests shouldn't link to any ABI library when it has been linked into
   # libc++ statically.





More information about the cfe-commits mailing list