Skip to content

Commit 351d41b

Browse files
committed
Adjustments for the 5.5 branch
1 parent 1b57825 commit 351d41b

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

include/swift/Option/FrontendOptions.td

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,10 @@ def type_info_dump_filter_EQ : Joined<["-"], "type-info-dump-filter=">,
765765
Flags<[FrontendOption]>,
766766
HelpText<"One of 'all', 'resilient' or 'fragile'">;
767767

768+
def emit_ldadd_cfile_path
769+
: Separate<["-"], "emit-ldadd-cfile-path">, MetaVarName<"<path>">,
770+
HelpText<"Generate .c file defining symbols to add back">;
771+
768772
def swift_async_frame_pointer_EQ : Joined<["-"], "swift-async-frame-pointer=">,
769773
Flags<[FrontendOption]>,
770774
HelpText<"One of 'auto', 'always' or 'never'">;

utils/build-script

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<<<#!/usr/bin/env python
1+
#!/usr/bin/env python
22

33
# This source file is part of the Swift.org open source project
44
#

utils/swift_build_support/swift_build_support/build_script_invocation.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -439,12 +439,6 @@ def convert_to_impl_arguments(self):
439439
' '.join(args.llvm_ninja_targets_for_cross_compile_hosts)
440440
]
441441

442-
if args.darwin_symroot_path_filters:
443-
impl_args += [
444-
"--darwin_symroot_path_filters=%s" %
445-
' '.join(args.darwin_symroot_path_filters)
446-
]
447-
448442
# Compute the set of host-specific variables, which we pass through to
449443
# the build script via environment variables.
450444
host_specific_variables = self.compute_host_specific_variables()
@@ -511,9 +505,6 @@ def compute_product_classes(self):
511505
# in the host toolchain. If the host toolchain is not equpipped with
512506
# a Swift compiler, a warning is emitted. In the future, it may become
513507
# mandatory that the host toolchain come with its own `swiftc`.
514-
if self.args.build_early_swift_driver:
515-
before_impl_product_classes.append(products.EarlySwiftDriver)
516-
517508
if self.args.build_cmark:
518509
before_impl_product_classes.append(products.CMark)
519510

utils/swift_build_support/swift_build_support/products/product.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,18 @@ def is_build_script_impl_product(cls):
5858
"""
5959
raise NotImplementedError
6060

61+
@classmethod
62+
def is_ignore_install_all_product(cls):
63+
"""is_ignore_install_all_product -> bool
64+
65+
Whether this product is to ignore the install-all directive
66+
and insted always respect its own should_install.
67+
This is useful when we run -install-all but have products
68+
which should never be installed into the toolchain
69+
(e.g. earlyswiftdriver)
70+
"""
71+
return False
72+
6173
@classmethod
6274
def is_swiftpm_unified_build_product(cls):
6375
"""is_swiftpm_unified_build_product -> bool

0 commit comments

Comments
 (0)