diff --git a/lldb/packages/Python/lldbsuite/test/make/Swift.rules b/lldb/packages/Python/lldbsuite/test/make/Swift.rules index 9725478f23884..6d1901000f807 100644 --- a/lldb/packages/Python/lldbsuite/test/make/Swift.rules +++ b/lldb/packages/Python/lldbsuite/test/make/Swift.rules @@ -212,6 +212,10 @@ ifeq "$(USESWIFTDRIVER)" "1" #---------------------------------------------------------------------- ifeq "$(DYLIB_NAME)" "" MODULENAME?=$(shell basename $(EXE) .out) +# Compile with -parse-as-library when main.swift contains "@main". +ifneq "$(shell grep -w '@main' $(VPATH)/main.swift 2>/dev/null)" "" +PARSE_AS_LIBRARY = -parse-as-library +endif else EXE = $(DYLIB_FILENAME) MODULENAME?=$(DYLIB_NAME) diff --git a/lldb/test/API/functionalities/data-formatter/swift/bridged-string/Makefile b/lldb/test/API/functionalities/data-formatter/swift/bridged-string/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/functionalities/data-formatter/swift/bridged-string/Makefile +++ b/lldb/test/API/functionalities/data-formatter/swift/bridged-string/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/array_uninitialized/Makefile b/lldb/test/API/lang/swift/array_uninitialized/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/array_uninitialized/Makefile +++ b/lldb/test/API/lang/swift/array_uninitialized/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/actors/unprioritised_jobs/Makefile b/lldb/test/API/lang/swift/async/actors/unprioritised_jobs/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/actors/unprioritised_jobs/Makefile +++ b/lldb/test/API/lang/swift/async/actors/unprioritised_jobs/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/async_fnargs/Makefile b/lldb/test/API/lang/swift/async/async_fnargs/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/async_fnargs/Makefile +++ b/lldb/test/API/lang/swift/async/async_fnargs/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/continuations/Makefile b/lldb/test/API/lang/swift/async/continuations/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/continuations/Makefile +++ b/lldb/test/API/lang/swift/async/continuations/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/expr/Makefile b/lldb/test/API/lang/swift/async/expr/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/expr/Makefile +++ b/lldb/test/API/lang/swift/async/expr/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/formatters/task/Makefile b/lldb/test/API/lang/swift/async/formatters/task/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/formatters/task/Makefile +++ b/lldb/test/API/lang/swift/async/formatters/task/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/formatters/task/children/Makefile b/lldb/test/API/lang/swift/async/formatters/task/children/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/formatters/task/children/Makefile +++ b/lldb/test/API/lang/swift/async/formatters/task/children/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/formatters/task/complete/Makefile b/lldb/test/API/lang/swift/async/formatters/task/complete/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/formatters/task/complete/Makefile +++ b/lldb/test/API/lang/swift/async/formatters/task/complete/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/formatters/task/name/Makefile b/lldb/test/API/lang/swift/async/formatters/task/name/Makefile index 9c65338d69883..dc06839b07994 100644 --- a/lldb/test/API/lang/swift/async/formatters/task/name/Makefile +++ b/lldb/test/API/lang/swift/async/formatters/task/name/Makefile @@ -1,3 +1,3 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library -Xfrontend -disable-availability-checking +SWIFTFLAGS_EXTRAS := -Xfrontend -disable-availability-checking include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/formatters/task/parent/Makefile b/lldb/test/API/lang/swift/async/formatters/task/parent/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/formatters/task/parent/Makefile +++ b/lldb/test/API/lang/swift/async/formatters/task/parent/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/formatters/task/suspended/Makefile b/lldb/test/API/lang/swift/async/formatters/task/suspended/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/formatters/task/suspended/Makefile +++ b/lldb/test/API/lang/swift/async/formatters/task/suspended/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/formatters/taskpriority/Makefile b/lldb/test/API/lang/swift/async/formatters/taskpriority/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/formatters/taskpriority/Makefile +++ b/lldb/test/API/lang/swift/async/formatters/taskpriority/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/frame/language_specific_data/Makefile b/lldb/test/API/lang/swift/async/frame/language_specific_data/Makefile index 9dc7b14522872..c1b8503c1bc17 100644 --- a/lldb/test/API/lang/swift/async/frame/language_specific_data/Makefile +++ b/lldb/test/API/lang/swift/async/frame/language_specific_data/Makefile @@ -1,4 +1,3 @@ SWIFT_SOURCES := main.swift SWIFT_ENABLE_EXPLICIT_MODULES := YES -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/frame/variable/Makefile b/lldb/test/API/lang/swift/async/frame/variable/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/frame/variable/Makefile +++ b/lldb/test/API/lang/swift/async/frame/variable/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/frame/variables_multiple_frames/Makefile b/lldb/test/API/lang/swift/async/frame/variables_multiple_frames/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/frame/variables_multiple_frames/Makefile +++ b/lldb/test/API/lang/swift/async/frame/variables_multiple_frames/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/queues/Makefile b/lldb/test/API/lang/swift/async/queues/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/queues/Makefile +++ b/lldb/test/API/lang/swift/async/queues/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/stepping/step-in/Makefile b/lldb/test/API/lang/swift/async/stepping/step-in/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/stepping/step-in/Makefile +++ b/lldb/test/API/lang/swift/async/stepping/step-in/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/stepping/step-in/task-switch/Makefile b/lldb/test/API/lang/swift/async/stepping/step-in/task-switch/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/stepping/step-in/task-switch/Makefile +++ b/lldb/test/API/lang/swift/async/stepping/step-in/task-switch/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/stepping/step_out/Makefile b/lldb/test/API/lang/swift/async/stepping/step_out/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/stepping/step_out/Makefile +++ b/lldb/test/API/lang/swift/async/stepping/step_out/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/stepping/step_over/Makefile b/lldb/test/API/lang/swift/async/stepping/step_over/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/stepping/step_over/Makefile +++ b/lldb/test/API/lang/swift/async/stepping/step_over/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/stepping/step_over_asynclet/Makefile b/lldb/test/API/lang/swift/async/stepping/step_over_asynclet/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/stepping/step_over_asynclet/Makefile +++ b/lldb/test/API/lang/swift/async/stepping/step_over_asynclet/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/taskgroups/Makefile b/lldb/test/API/lang/swift/async/taskgroups/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/taskgroups/Makefile +++ b/lldb/test/API/lang/swift/async/taskgroups/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/tasks/Makefile b/lldb/test/API/lang/swift/async/tasks/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/tasks/Makefile +++ b/lldb/test/API/lang/swift/async/tasks/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/tasks/info/Makefile b/lldb/test/API/lang/swift/async/tasks/info/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/tasks/info/Makefile +++ b/lldb/test/API/lang/swift/async/tasks/info/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/tasks/list/Makefile b/lldb/test/API/lang/swift/async/tasks/list/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/tasks/list/Makefile +++ b/lldb/test/API/lang/swift/async/tasks/list/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/tasks/tree/Makefile b/lldb/test/API/lang/swift/async/tasks/tree/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/tasks/tree/Makefile +++ b/lldb/test/API/lang/swift/async/tasks/tree/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/unwind/backtrace_locals/Makefile b/lldb/test/API/lang/swift/async/unwind/backtrace_locals/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/unwind/backtrace_locals/Makefile +++ b/lldb/test/API/lang/swift/async/unwind/backtrace_locals/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/unwind/disable_language_unwinder/Makefile b/lldb/test/API/lang/swift/async/unwind/disable_language_unwinder/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/unwind/disable_language_unwinder/Makefile +++ b/lldb/test/API/lang/swift/async/unwind/disable_language_unwinder/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/unwind/hidden_frames/Makefile b/lldb/test/API/lang/swift/async/unwind/hidden_frames/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/unwind/hidden_frames/Makefile +++ b/lldb/test/API/lang/swift/async/unwind/hidden_frames/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/unwind/sayhello/Makefile b/lldb/test/API/lang/swift/async/unwind/sayhello/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/unwind/sayhello/Makefile +++ b/lldb/test/API/lang/swift/async/unwind/sayhello/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/unwind/short_unwind/Makefile b/lldb/test/API/lang/swift/async/unwind/short_unwind/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/unwind/short_unwind/Makefile +++ b/lldb/test/API/lang/swift/async/unwind/short_unwind/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/unwind/unwind_in_all_instructions/Makefile b/lldb/test/API/lang/swift/async/unwind/unwind_in_all_instructions/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/unwind/unwind_in_all_instructions/Makefile +++ b/lldb/test/API/lang/swift/async/unwind/unwind_in_all_instructions/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/unwind/unwind_recursive_q_funclets/Makefile b/lldb/test/API/lang/swift/async/unwind/unwind_recursive_q_funclets/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/async/unwind/unwind_recursive_q_funclets/Makefile +++ b/lldb/test/API/lang/swift/async/unwind/unwind_recursive_q_funclets/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/unwind/unwind_register_pressure/Makefile b/lldb/test/API/lang/swift/async/unwind/unwind_register_pressure/Makefile index adad7d16985c2..34a4d272d6029 100644 --- a/lldb/test/API/lang/swift/async/unwind/unwind_register_pressure/Makefile +++ b/lldb/test/API/lang/swift/async/unwind/unwind_register_pressure/Makefile @@ -1,3 +1,3 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library -Xfrontend -Xllvm -Xfrontend --emit-dwarf-unwind=always +SWIFTFLAGS_EXTRAS := -Xfrontend -Xllvm -Xfrontend --emit-dwarf-unwind=always include Makefile.rules diff --git a/lldb/test/API/lang/swift/async/variables/Makefile b/lldb/test/API/lang/swift/async/variables/Makefile index 2385221567fca..4eabd983c06a2 100644 --- a/lldb/test/API/lang/swift/async/variables/Makefile +++ b/lldb/test/API/lang/swift/async/variables/Makefile @@ -1,3 +1,3 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library -Xfrontend -enable-upcoming-feature -Xfrontend NonisolatedNonsendingByDefault +SWIFTFLAGS_EXTRAS := -Xfrontend -enable-upcoming-feature -Xfrontend NonisolatedNonsendingByDefault include Makefile.rules diff --git a/lldb/test/API/lang/swift/bridged_url/Makefile b/lldb/test/API/lang/swift/bridged_url/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/bridged_url/Makefile +++ b/lldb/test/API/lang/swift/bridged_url/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/command_memory_read/Makefile b/lldb/test/API/lang/swift/command_memory_read/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/command_memory_read/Makefile +++ b/lldb/test/API/lang/swift/command_memory_read/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/embedded/asyncstream_continuation/Makefile b/lldb/test/API/lang/swift/embedded/asyncstream_continuation/Makefile index 07795c9054347..2d38ce6c52b6d 100644 --- a/lldb/test/API/lang/swift/embedded/asyncstream_continuation/Makefile +++ b/lldb/test/API/lang/swift/embedded/asyncstream_continuation/Makefile @@ -1,5 +1,4 @@ SWIFT_SOURCES := main.swift SWIFT_EMBEDDED_CONCURRENCY := 1 -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/generic_arguments/Makefile b/lldb/test/API/lang/swift/generic_arguments/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/generic_arguments/Makefile +++ b/lldb/test/API/lang/swift/generic_arguments/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/po/pointer_and_mangled_typename/Makefile b/lldb/test/API/lang/swift/po/pointer_and_mangled_typename/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/po/pointer_and_mangled_typename/Makefile +++ b/lldb/test/API/lang/swift/po/pointer_and_mangled_typename/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/span/Makefile b/lldb/test/API/lang/swift/span/Makefile index 9c65338d69883..dc06839b07994 100644 --- a/lldb/test/API/lang/swift/span/Makefile +++ b/lldb/test/API/lang/swift/span/Makefile @@ -1,3 +1,3 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library -Xfrontend -disable-availability-checking +SWIFTFLAGS_EXTRAS := -Xfrontend -disable-availability-checking include Makefile.rules diff --git a/lldb/test/API/lang/swift/swiftui_formatters/Makefile b/lldb/test/API/lang/swift/swiftui_formatters/Makefile index d264c068dacc0..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/swiftui_formatters/Makefile +++ b/lldb/test/API/lang/swift/swiftui_formatters/Makefile @@ -1,4 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library - include Makefile.rules diff --git a/lldb/test/API/lang/swift/system/Makefile b/lldb/test/API/lang/swift/system/Makefile index cca30b939e652..cb73d9276d0ed 100644 --- a/lldb/test/API/lang/swift/system/Makefile +++ b/lldb/test/API/lang/swift/system/Makefile @@ -1,3 +1,2 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules diff --git a/lldb/test/API/lang/swift/variables/consume_operator_async/Makefile b/lldb/test/API/lang/swift/variables/consume_operator_async/Makefile index d264c068dacc0..2a69023633b34 100644 --- a/lldb/test/API/lang/swift/variables/consume_operator_async/Makefile +++ b/lldb/test/API/lang/swift/variables/consume_operator_async/Makefile @@ -1,4 +1,3 @@ SWIFT_SOURCES := main.swift -SWIFTFLAGS_EXTRAS := -parse-as-library include Makefile.rules