Commit Graph

10 Commits

Author SHA1 Message Date
Arnold Schwaighofer
591fc4abfd Revert "tests: Temporarily disable Interpreter/struct_extra_inhabitants.swift in optimize mode"
This reverts commit 8ef908eca7.
2021-12-06 07:41:51 -08:00
Erik Eckstein
8ef908eca7 tests: Temporarily disable Interpreter/struct_extra_inhabitants.swift in optimize mode
rdar://86054209
2021-12-05 13:19:55 +01:00
Arnold Schwaighofer
0e2f63a12c Disable some tests that will fail on back deployment library configurations
rdar://76567524
rdar://76567105
2021-04-13 07:48:03 -07:00
Mishal Shah
a3cd8bc9e9 [Tests] Codesign the binary before executing the test 2020-08-07 00:26:07 -07:00
David Zarzycki
5dcc32f98f Remove all uses of -force-single-frontend-invocation
The `-force-single-frontend-invocation` flag predates WMO and is now an
alias for `-whole-module-optimization`. We should use the latter and let
the former fade into history.
2020-05-08 06:37:41 -04:00
Arnold Schwaighofer
51193f4c82 These tests require __swift_debug_verifyTypeLayoutAttribute which is not ABI or available on OS stdlibs
Interpreter/multi_payload_extra_inhabitant.swift
  Interpreter/struct_extra_inhabitants.swift

Mark the test as unsupported when running the tests with the OS' stdlib.

rdar://54749176
2019-08-27 09:06:12 -07:00
Slava Pestov
1159af50d9 Rename -enable-resilience to -enable-library-evolution and make it a driver flag
Fixes <rdar://problem/47679085>.
2019-03-14 22:24:26 -04:00
Joe Groff
ff7afcdfd7 Give more extra inhabitants to BridgeObject.
The standard library never ended up needing the low extra inhabitants (<4G on 64-bit Darwin,
<4K elsewhere), so BridgeObject can have the same set of extra inhabitants as the other refcounted
types, allowing `String?????` and `Array??????????` to still use optimized representations.
rdar://problem/45881464
2018-11-07 19:03:22 -08:00
Slava Pestov
432644ad20 These tests require the ability to execute code 2018-08-29 14:47:50 -07:00
Joe Groff
9f02ecd1a5 IRGen: Use any field of structs for extra inhabitants.
This allows us to layout-optimize Optional<T> when T is a struct with an
extra-inhabitant-bearing field anywhere in its definition, not only at
the beginning. rdar://problem/43019427
2018-08-14 12:53:06 -07:00