Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lldb/packages/Python/lldbsuite/test/make/Swift.rules
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ ALL_SWIFT_SOURCES = $(SWIFT_SOURCES) $(DYLIB_SWIFT_SOURCES)
SWIFT_OBJECTS = $(strip $(ALL_SWIFT_SOURCES:.swift=.swift.o))

ifeq "$(DISABLE_SWIFT_INTERFACE)" ""
SWIFT_INTERFACE_FLAGS=-emit-module-interface-path $(BUILDDIR)/$(MODULENAME).swiftinterface
SWIFT_INTERFACE_FLAGS=-swift-version 5 -emit-module-interface-path $(BUILDDIR)/$(MODULENAME).swiftinterface
endif

ifeq "$(SWIFT_WMO)" "1"
Expand Down
2 changes: 1 addition & 1 deletion lldb/test/Shell/SwiftREPL/SwiftInterface.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// RUN: rm -rf %t
// RUN: mkdir %t
// RUN: cp %S/Inputs/A.swift %t/AA.swift
// 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
// 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
// RUN: rm %t/AA.swift
// RUN: %lldb --repl="-I%t -L%t -lAA" < %s | FileCheck %s

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// RUN: mkdir %t/mcp
// RUN: mkdir %t/lib
// RUN: cp %S/Inputs/A.swift %t/AA.swift
// 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
// 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
// RUN: sed -e 's/FromInterface/FromSerialized/g' %t/AA.swift | %target-swiftc -module-name AA -emit-module -o %t/lib/AA.swiftmodule -
// RUN: rm %t/AA.swift

Expand Down
4 changes: 2 additions & 2 deletions llvm/test/tools/dsymutil/ARM/swiftmodule.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
# echo ''>I.swift
# echo ''>B.swift
# echo 'import I'>main.swift
# xcrun swiftc -emit-module-interface-path I.swiftinterface -enable-library-evolution I.swift
# xcrun swiftc -emit-module-path B.swiftmodule B.swift -Xfrontend -no-serialize-debugging-options
# xcrun swiftc -swift-version 5 -emit-module-interface-path I.swiftinterface -enable-library-evolution I.swift
# xcrun swiftc -swift-version 5 -emit-module-path B.swiftmodule B.swift -Xfrontend -no-serialize-debugging-options
# xcrun swiftc -explicit-module-build main.swift -I. -module-cache-path cache -g -Xfrontend -no-serialize-debugging-options
# output is "B.swiftmodule" and "cache/I*.swiftmodule"
#
Expand Down