Skip to content

Commit e87acf4

Browse files
authored
Add -runtime-compatibility-version none to the VFE/WME LTO tests to workaround a linker failure (#65621)
rdar://107987502
1 parent 232d94c commit e87acf4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/IRGen/virtual-function-elimination-two-modules.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// (4) Now produce the .dylib with just the symbols needed by the client
2121
// RUN: %target-build-swift -parse-as-library -Xfrontend -enable-llvm-vfe -Xfrontend -internalize-at-link \
2222
// RUN: %s -DLIBRARY -lto=llvm-full %lto_flags -module-name Library \
23-
// RUN: -emit-library -o %t/libLibrary.dylib \
23+
// RUN: -emit-library -o %t/libLibrary.dylib -runtime-compatibility-version none \
2424
// RUN: -Xlinker -exported_symbols_list -Xlinker %t/used-symbols -Xlinker -dead_strip
2525

2626
// (5) Check list of symbols in library

test/IRGen/witness-method-elimination-two-modules.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// (4) Now produce the .dylib with just the symbols needed by the client
2222
// RUN: %target-build-swift -parse-as-library -Onone -Xfrontend -enable-llvm-wme -Xfrontend -internalize-at-link \
2323
// RUN: %s -DLIBRARY -lto=llvm-full %lto_flags -module-name Library \
24-
// RUN: -emit-library -o %t/libLibrary.dylib \
24+
// RUN: -emit-library -o %t/libLibrary.dylib -runtime-compatibility-version none \
2525
// RUN: -Xlinker -exported_symbols_list -Xlinker %t/used-symbols -Xlinker -dead_strip
2626

2727
// (5) Check list of symbols in library

0 commit comments

Comments
 (0)