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")
6363defaulted_option(SwiftCore_ENABLE_VECTOR_TYPES "Enable vector support" )
6464defaulted_option(SwiftCore_ENABLE_REFLECTION "Enable runtime support for mirrors and reflection support" )
6565defaulted_option(SwiftCore_ENABLE_COMMANDLINE_SUPPORT "Enable command line argument support" )
66+ defaulted_option(SwiftCore_ENABLE_RUNTIME_FUNCTION_COUNTERS "Enable runtime function counter support" )
6667
6768defaulted_option(SwiftCore_ENABLE_BACKTRACING "Enable backtracing runtime support" )
6869set (SwiftCore_BACKTRACER_PATH ${SwiftCore_BACKTRACER_PATH_default} CACHE STRING "Set a fixed path to the Swift backtracer" )
@@ -77,6 +78,7 @@ add_compile_definitions(
7778 $<$<BOOL :${SwiftCore_ENABLE_LIBRARY_EVOLUTION} >:-DSWIFT_LIBRARY_EVOLUTION>
7879 $<$<BOOL :${SwiftCore_ENABLE_CRASH_REPORTER_CLIENT} >:-DSWIFT_HAVE_CRASHREPORTERCLIENT>
7980 $<$<BOOL :${SwiftCore_ENABLE_REFLECTION} >:-DSWIFT_ENABLE_REFLECTION>
81+ $<$<BOOL :${SwiftCore_ENABLE_RUNTIME_FUNCTION_COUNTERS} >:-DSWIFT_ENABLE_RUNTIME_FUNCTION_COUNTERS>
8082 $<$<COMPILE_LANGUAGE:C,CXX>:-DSWIFT_RUNTIME_ENABLE_LEAK_CHECKER=$<BOOL :${SwiftCore_ENABLE_RUNTIME_LEAK_CHECKER} >>
8183 $<$<COMPILE_LANGUAGE:C,CXX>:-DSWIFT_RUNTIME_CLOBBER_FREED_OBJECTS=$<BOOL :${SwiftCore_ENABLE_CLOBBER_FREED_OBJECTS} >>)
8284
You can’t perform that action at this time.
0 commit comments