File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -480,7 +480,7 @@ function(_compile_swift_files
480
480
endif ()
481
481
482
482
if (NOT SWIFT_ENABLE_REFLECTION )
483
- list (APPEND swift_flags "-Xfrontend" "-disable- reflection-metadata" )
483
+ list (APPEND swift_flags "-Xfrontend" "-reflection-metadata-for-debugger-only " )
484
484
else ()
485
485
list (APPEND swift_flags "-D" "SWIFT_ENABLE_REFLECTION" )
486
486
endif ()
Original file line number Diff line number Diff line change @@ -1005,6 +1005,9 @@ if run_vendor == 'apple':
1005
1005
if not config .swift_freestanding_is_darwin :
1006
1006
swift_execution_tests_extra_flags += ' -Xfrontend -disable-preallocated-instantiation-caches'
1007
1007
1008
+ if not config .swift_freestanding_is_darwin :
1009
+ swift_execution_tests_extra_flags += ' -Xfrontend -reflection-metadata-for-debugger-only'
1010
+
1008
1011
# Build a resource dir for freestanding tests.
1009
1012
new_resource_dir = os .path .join (config .test_exec_root , "resource_dir" )
1010
1013
if not os .path .exists (new_resource_dir ): os .mkdir (new_resource_dir )
You can’t perform that action at this time.
0 commit comments