File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
packages/Python/lldbsuite/test/make
llvm/test/tools/dsymutil/ARM Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ ALL_SWIFT_SOURCES = $(SWIFT_SOURCES) $(DYLIB_SWIFT_SOURCES)
164
164
SWIFT_OBJECTS = $(strip $(ALL_SWIFT_SOURCES:.swift=.swift.o ) )
165
165
166
166
ifeq "$(DISABLE_SWIFT_INTERFACE ) " ""
167
- SWIFT_INTERFACE_FLAGS =-emit-module-interface-path $(BUILDDIR ) /$(MODULENAME ) .swiftinterface
167
+ SWIFT_INTERFACE_FLAGS =-swift-version 5 - emit-module-interface-path $(BUILDDIR ) /$(MODULENAME ) .swiftinterface
168
168
endif
169
169
170
170
ifeq "$(SWIFT_WMO ) " "1"
Original file line number Diff line number Diff line change 4
4
// RUN: rm -rf %t
5
5
// RUN: mkdir %t
6
6
// RUN: cp %S/Inputs/A.swift %t/AA.swift
7
- // RUN: %target-swiftc -module-name AA -emit-module-interface-path %t/AA.swiftinterface -emit-library -o %t/libAA%target-shared-library-suffix %t/AA.swift
7
+ // RUN: %target-swiftc -swift-version 5 - module-name AA -emit-module-interface-path %t/AA.swiftinterface -emit-library -o %t/libAA%target-shared-library-suffix %t/AA.swift
8
8
// RUN: rm %t/AA.swift
9
9
// RUN: %lldb --repl="-I%t -L%t -lAA" < %s | FileCheck %s
10
10
Original file line number Diff line number Diff line change 16
16
// RUN: mkdir %t/mcp
17
17
// RUN: mkdir %t/lib
18
18
// RUN: cp %S/Inputs/A.swift %t/AA.swift
19
- // RUN: %target-swiftc -module-name AA -emit-module-interface-path %t/lib/AA.swiftinterface -emit-library -o %t/lib/libAA%target-shared-library-suffix %t/AA.swift
19
+ // RUN: %target-swiftc -swift-version 5 - module-name AA -emit-module-interface-path %t/lib/AA.swiftinterface -emit-library -o %t/lib/libAA%target-shared-library-suffix %t/AA.swift
20
20
// RUN: sed -e 's/FromInterface/FromSerialized/g' %t/AA.swift | %target-swiftc -module-name AA -emit-module -o %t/lib/AA.swiftmodule -
21
21
// RUN: rm %t/AA.swift
22
22
Original file line number Diff line number Diff line change 6
6
# echo ''>I.swift
7
7
# echo ''>B.swift
8
8
# echo 'import I'>main.swift
9
- # xcrun swiftc -emit-module-interface-path I.swiftinterface -enable-library-evolution I.swift
10
- # xcrun swiftc -emit-module-path B.swiftmodule B.swift -Xfrontend -no-serialize-debugging-options
9
+ # xcrun swiftc -swift-version 5 - emit-module-interface-path I.swiftinterface -enable-library-evolution I.swift
10
+ # xcrun swiftc -swift-version 5 - emit-module-path B.swiftmodule B.swift -Xfrontend -no-serialize-debugging-options
11
11
# xcrun swiftc -explicit-module-build main.swift -I. -module-cache-path cache -g -Xfrontend -no-serialize-debugging-options
12
12
# output is "B.swiftmodule" and "cache/I*.swiftmodule"
13
13
#
You can’t perform that action at this time.
0 commit comments