Skip to content

Commit 9567940

Browse files
committed
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. llvm-svn: 373253
1 parent 471910d commit 9567940

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/cmake/modules/LLVMConfig.cmake.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ set(LLVM_ENABLE_TERMINFO @LLVM_ENABLE_TERMINFO@)
4545

4646
set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@)
4747

48+
set(LLVM_ENABLE_UNWIND_TABLES @LLVM_ENABLE_UNWIND_TABLES@)
49+
4850
set(LLVM_ENABLE_ZLIB @LLVM_ENABLE_ZLIB@)
4951

5052
set(LLVM_LIBXML2_ENABLED @LLVM_LIBXML2_ENABLED@)

0 commit comments

Comments
 (0)