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)
164164SWIFT_OBJECTS = $(strip $(ALL_SWIFT_SOURCES:.swift=.swift.o ) )
165165
166166ifeq "$(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
168168endif
169169
170170ifeq "$(SWIFT_WMO ) " "1"
Original file line number Diff line number Diff line change 44// RUN: rm -rf %t
55// RUN: mkdir %t
66// 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
88// RUN: rm %t/AA.swift
99// RUN: %lldb --repl="-I%t -L%t -lAA" < %s | FileCheck %s
1010
Original file line number Diff line number Diff line change 1616// RUN: mkdir %t/mcp
1717// RUN: mkdir %t/lib
1818// 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
2020// RUN: sed -e 's/FromInterface/FromSerialized/g' %t/AA.swift | %target-swiftc -module-name AA -emit-module -o %t/lib/AA.swiftmodule -
2121// RUN: rm %t/AA.swift
2222
Original file line number Diff line number Diff line change 66# echo ''>I.swift
77# echo ''>B.swift
88# 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
1111# xcrun swiftc -explicit-module-build main.swift -I. -module-cache-path cache -g -Xfrontend -no-serialize-debugging-options
1212# output is "B.swiftmodule" and "cache/I*.swiftmodule"
1313#
You can’t perform that action at this time.
0 commit comments