File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
stdlib/public/Concurrency/linker-support
test/Concurrency/Backdeploy Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 124
124
RPATH_INSTALL_NAME_DIRECTIVE (11 , 4 )
125
125
RPATH_INSTALL_NAME_DIRECTIVE (11 , 5 )
126
126
RPATH_INSTALL_NAME_DIRECTIVE (11 , 6 )
127
+
128
+ // Link against @rpath/libswift_Concurrency.dylib for macCatalyst < 15.0.
129
+ SWIFT_RUNTIME_EXPORT const char ld_previous_macCatalyst
130
+ __asm("$ld$previous$@rpath/libswift_Concurrency.dylib$$6$1.0$15.0$" );
131
+
132
+ const char ld_previous_macCatalyst = 0 ;
127
133
#else
128
134
#error Unknown target.
129
135
#endif
Original file line number Diff line number Diff line change 7
7
// RUN: otool -L %t/linking_rpath | %FileCheck -check-prefix CHECK-RPATH %s
8
8
// RUN: otool -L %t/linking_rpath_old | %FileCheck -check-prefix CHECK-RPATH %s
9
9
10
+ // RUN: %target-build-swift -target x86_64-apple-ios15.0-macabi %s -o %t/linking_direct
11
+ // RUN: %target-build-swift -target x86_64-apple-ios14.0-macabi %s -o %t/linking_rpath
12
+
13
+ // RUN: otool -L %t/linking_direct | %FileCheck -check-prefix CHECK-DIRECT %s
14
+ // RUN: otool -L %t/linking_rpath | %FileCheck -check-prefix CHECK-RPATH %s
15
+
10
16
// REQUIRES: OS=macosx
11
17
// REQUIRES: CPU=x86_64
12
18
You can’t perform that action at this time.
0 commit comments