File tree Expand file tree Collapse file tree 4 files changed +6
-1
lines changed Expand file tree Collapse file tree 4 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11llvm_canonicalize_cmake_booleans(
22 BUILD_SHARED_LIBS
33 HAVE_OCAMLOPT
4+ ENABLE_BACKTRACES
45 LLVM_ENABLE_DIA_SDK
56 LLVM_ENABLE_FFI
67 LLVM_ENABLE_THREADS
Original file line number Diff line number Diff line change 1- ; REQUIRES: asserts
1+ ; REQUIRES: asserts, backtrace
22
33; RUN: not --crash opt -passes=trigger-crash-module %s -disable-output 2>&1 | \
44; RUN: FileCheck %s --check-prefix=CHECK-MODULE
Original file line number Diff line number Diff line change @@ -597,6 +597,9 @@ def have_ld64_plugin_support():
597597) and not re .match (r"^arm64(e)?-apple-(macos|darwin)" , config .target_triple ):
598598 config .available_features .add ("debug_frame" )
599599
600+ if config .enable_backtrace :
601+ config .available_features .add ("backtrace" )
602+
600603if config .enable_threads :
601604 config .available_features .add ("thread_support" )
602605
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ config.have_httplib = @LLVM_ENABLE_HTTPLIB@
4141config.have_dia_sdk = @LLVM_ENABLE_DIA_SDK@
4242config.enable_ffi = @LLVM_ENABLE_FFI@
4343config.build_examples = @LLVM_BUILD_EXAMPLES@
44+ config.enable_backtrace = @ENABLE_BACKTRACES@
4445config.enable_threads = @LLVM_ENABLE_THREADS@
4546config.build_shared_libs = @BUILD_SHARED_LIBS@
4647config.link_llvm_dylib = @LLVM_LINK_LLVM_DYLIB@
You can’t perform that action at this time.
0 commit comments