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 1
1
llvm_canonicalize_cmake_booleans (
2
2
BUILD_SHARED_LIBS
3
3
HAVE_OCAMLOPT
4
+ ENABLE_BACKTRACES
4
5
LLVM_ENABLE_DIA_SDK
5
6
LLVM_ENABLE_FFI
6
7
LLVM_ENABLE_THREADS
Original file line number Diff line number Diff line change 1
- ; REQUIRES: asserts
1
+ ; REQUIRES: asserts, backtrace
2
2
3
3
; RUN: not --crash opt -passes=trigger-crash-module %s -disable-output 2>&1 | \
4
4
; 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():
597
597
) and not re .match (r"^arm64(e)?-apple-(macos|darwin)" , config .target_triple ):
598
598
config .available_features .add ("debug_frame" )
599
599
600
+ if config .enable_backtrace :
601
+ config .available_features .add ("backtrace" )
602
+
600
603
if config .enable_threads :
601
604
config .available_features .add ("thread_support" )
602
605
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ config.have_httplib = @LLVM_ENABLE_HTTPLIB@
41
41
config.have_dia_sdk = @LLVM_ENABLE_DIA_SDK@
42
42
config.enable_ffi = @LLVM_ENABLE_FFI@
43
43
config.build_examples = @LLVM_BUILD_EXAMPLES@
44
+ config.enable_backtrace = @ENABLE_BACKTRACES@
44
45
config.enable_threads = @LLVM_ENABLE_THREADS@
45
46
config.build_shared_libs = @BUILD_SHARED_LIBS@
46
47
config.link_llvm_dylib = @LLVM_LINK_LLVM_DYLIB@
You can’t perform that action at this time.
0 commit comments