Skip to content

Commit 8b41d2b

Browse files
committed
Reenable compat lib in a couple tests
This patch re-enables the compat library on a couple of tests. The issue was that the compat library was pulling in compiler-rt symbols for determining system version. That was fixed with a little dlsym action in 188c7bd. It was using the symbols to determine if we had voucher_needs_adopt. It just took a while to re-enable it in these tests.
1 parent aad2b6e commit 8b41d2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/DebugInfo/ASTSection_linker.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// RUN: %empty-directory(%t)
44

5-
// RUN: %target-swift-frontend -runtime-compatibility-version none -c -Xcc -DA -Xcc -DB -emit-module -o %t %S/ASTSection.swift -swift-version 4
5+
// RUN: %target-swift-frontend -c -Xcc -DA -Xcc -DB -emit-module -o %t %S/ASTSection.swift -swift-version 4
66
// RUN: %swift-ide-test -test-CompilerInvocation-from-module -source-filename=%t/ASTSection.swiftmodule
77

88
// Test the inline section mechanism.

test/IRGen/entrypoint-section-run-main_swift.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %target-clang %s -std=c++11 -isysroot %sdk -o %t/main
33
// RUN: %target-codesign %t/main
4-
// RUN: %target-swift-frontend -runtime-compatibility-version none -c %S/Inputs/entry-point-section/main.swift -O -o %t/howdy.o -module-name Howdy
4+
// RUN: %target-swift-frontend -c %S/Inputs/entry-point-section/main.swift -O -o %t/howdy.o -module-name Howdy
55
// RUN: %target-ld %t/howdy.o -syslibroot %sdk -lSystem -dylib -o %t/libHowdy.dylib
66
// RUN: %target-codesign %t/libHowdy.dylib
77
// RUN: %target-run %t/main %t/libHowdy.dylib | %FileCheck %s

0 commit comments

Comments
 (0)