[llvm] r373253 - build: serialise `LLVM_ENABLE_UNWIND_TABLES` into LLVMConfig

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 13:03:59 PDT 2019


Author: compnerd
Date: Mon Sep 30 13:03:59 2019
New Revision: 373253

URL: http://llvm.org/viewvc/llvm-project?rev=373253&view=rev
Log:
build: serialise `LLVM_ENABLE_UNWIND_TABLES` into LLVMConfig

Serialize the value of the configuration option into the configuration so that
builds which integrate LLVM can identify the value of the flag that was used to
build the libraries.  This is intended to be used by Swift to control tests
which rely on the unwind information.

Modified:
    llvm/trunk/cmake/modules/LLVMConfig.cmake.in

Modified: llvm/trunk/cmake/modules/LLVMConfig.cmake.in
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/LLVMConfig.cmake.in?rev=373253&r1=373252&r2=373253&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/LLVMConfig.cmake.in (original)
+++ llvm/trunk/cmake/modules/LLVMConfig.cmake.in Mon Sep 30 13:03:59 2019
@@ -45,6 +45,8 @@ set(LLVM_ENABLE_TERMINFO @LLVM_ENABLE_TE
 
 set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@)
 
+set(LLVM_ENABLE_UNWIND_TABLES @LLVM_ENABLE_UNWIND_TABLES@)
+
 set(LLVM_ENABLE_ZLIB @LLVM_ENABLE_ZLIB@)
 
 set(LLVM_LIBXML2_ENABLED @LLVM_LIBXML2_ENABLED@)




More information about the llvm-commits mailing list