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':
977977
978978 # Auto-linking does not work when stdlib is built with LTO, because linked
979979 # 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
982984 if "stdlib_lto" in config .available_features :
983985 for library in ["swiftCore" , "swiftStdlibUnittest" ,
984986 "swiftStdlibUnicodeUnittest" ,
985987 "swiftStdlibCollectionUnittest" ,
986988 "swiftSwiftPrivateLibcExtras" , "swiftSwiftPrivate" ,
987989 "swiftDarwin" , "swiftSwiftPrivateThreadExtras" ,
988- "swiftSwiftOnoneSupport" ]:
990+ "swiftSwiftOnoneSupport" , "swift_Concurrency" ]:
989991 swift_execution_tests_extra_flags += ' -Xlinker -l%s' % library
990992
991993 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