File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -977,15 +977,17 @@ if run_vendor == 'apple':
977
977
978
978
# Auto-linking does not work when stdlib is built with LTO, because linked
979
979
# libraries are discovered too late (after optimizations are applied), and
980
- # ld64 hits an assert and crashes. Until ld64 fixes this, let's workaround
981
- # it by explicitly -l linking all libraries needed in tests.
980
+ # ld64 hits an assert and crashes, or worse, deadlocks. Until ld64 fixes
981
+ # this, let's workaround it by explicitly -l linking all libraries needed in
982
+ # tests.
983
+ # rdar://70787171
982
984
if "stdlib_lto" in config .available_features :
983
985
for library in ["swiftCore" , "swiftStdlibUnittest" ,
984
986
"swiftStdlibUnicodeUnittest" ,
985
987
"swiftStdlibCollectionUnittest" ,
986
988
"swiftSwiftPrivateLibcExtras" , "swiftSwiftPrivate" ,
987
989
"swiftDarwin" , "swiftSwiftPrivateThreadExtras" ,
988
- "swiftSwiftOnoneSupport" ]:
990
+ "swiftSwiftOnoneSupport" , "swift_Concurrency" ]:
989
991
swift_execution_tests_extra_flags += ' -Xlinker -l%s' % library
990
992
991
993
swift_native_clang_tools_path = lit_config .params .get ('swift_native_clang_tools_path' , None )
You can’t perform that action at this time.
0 commit comments