File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ defaulted_option(SwiftCore_ENABLE_TYPE_PRINTING "Enable printing type names")
63
63
defaulted_option (SwiftCore_ENABLE_VECTOR_TYPES "Enable vector support" )
64
64
defaulted_option (SwiftCore_ENABLE_REFLECTION "Enable runtime support for mirrors and reflection support" )
65
65
defaulted_option (SwiftCore_ENABLE_COMMANDLINE_SUPPORT "Enable command line argument support" )
66
+ defaulted_option (SwiftCore_ENABLE_RUNTIME_FUNCTION_COUNTERS "Enable runtime function counter support" )
66
67
67
68
defaulted_option (SwiftCore_ENABLE_BACKTRACING "Enable backtracing runtime support" )
68
69
set (SwiftCore_BACKTRACER_PATH ${SwiftCore_BACKTRACER_PATH_default} CACHE STRING "Set a fixed path to the Swift backtracer" )
@@ -77,6 +78,7 @@ add_compile_definitions(
77
78
$< $< BOOL:${SwiftCore_ENABLE_LIBRARY_EVOLUTION} > :-DSWIFT_LIBRARY_EVOLUTION>
78
79
$< $< BOOL:${SwiftCore_ENABLE_CRASH_REPORTER_CLIENT} > :-DSWIFT_HAVE_CRASHREPORTERCLIENT>
79
80
$< $< BOOL:${SwiftCore_ENABLE_REFLECTION} > :-DSWIFT_ENABLE_REFLECTION>
81
+ $< $< BOOL:${SwiftCore_ENABLE_RUNTIME_FUNCTION_COUNTERS} > :-DSWIFT_ENABLE_RUNTIME_FUNCTION_COUNTERS>
80
82
$< $< COMPILE_LANGUAGE:C,CXX> :-DSWIFT_RUNTIME_ENABLE_LEAK_CHECKER=$< BOOL:${SwiftCore_ENABLE_RUNTIME_LEAK_CHECKER} > >
81
83
$< $< COMPILE_LANGUAGE:C,CXX> :-DSWIFT_RUNTIME_CLOBBER_FREED_OBJECTS=$< BOOL:${SwiftCore_ENABLE_CLOBBER_FREED_OBJECTS} > > )
82
84
You can’t perform that action at this time.
0 commit comments