Skip to content

Commit 36a129c

Browse files
committed
Enable experimental-hermetic-seal-at-link and lto in stdlib_S_standalone_minimal_macho_arm64_relative_protocol_witness_table configuration
1 parent 38f51d6 commit 36a129c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/lit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ if run_vendor == 'apple':
10031003

10041004
# TODO: consider making the addition of these flags dependent on the CMake
10051005
# setting for hermetic seal at link
1006-
if not config.swift_freestanding_is_darwin and not config.swift_stdlib_use_relative_protocol_witness_tables:
1006+
if not config.swift_freestanding_is_darwin:
10071007
swift_execution_tests_extra_flags += ' -experimental-hermetic-seal-at-link -lto=llvm-full'
10081008

10091009
if not config.swift_freestanding_is_darwin:

utils/build-presets.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2643,8 +2643,8 @@ swift-freestanding-archs=arm64
26432643
# For lit tests, we are producing dynamic executables with statically linked stdlib into the executable.
26442644
swift-runtime-static-image-inspection=0
26452645

2646-
swift-stdlib-experimental-hermetic-seal-at-link=0
2647-
swift-stdlib-lto=
2646+
swift-stdlib-experimental-hermetic-seal-at-link=1
2647+
swift-stdlib-lto=full
26482648
swift-enable-runtime-function-counters=0
26492649
swift-stdlib-use-relative-protocol-witness-tables=1
26502650

0 commit comments

Comments
 (0)