Skip to content

Conversation

pull[bot]
Copy link

@pull pull bot commented Sep 20, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

ktoso and others added 30 commits July 5, 2022 18:49
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
LucianoPAlmeida and others added 13 commits September 19, 2022 20:54
This test does:
```
race()
print("Done!")

// CHECK: ThreadSanitizer: data race
// CHECK: Done!
```

We see some recent cases where the output of the test binary on iOS
devices was:
```
Done!
==================
WARNING: ThreadSanitizer: data race
…
```

So apparently the TSan report output is not guaranteed to be printed
before "Done!".  Maybe this is because we print "Done!" on stdout and
the sanitizer report on stderr?

The remaining question is: what changed that we are seeing this issue
now, but not previously?

rdar://99713724

Co-authored-by: Julian Lettner <julian.lettner@apple.com>
…e equivalence classes

This fixes an edge case where we start with the following requirements:

    - U : P
    - T : P
    - T.[P]A == C
    - T == G<T.[P]A>
    - U.[P]A == T.[P]A

and end up with the following set of minimal rules (where the type
witness for [P]A in the conformance G<C> : P is C):

    - U.[P] => U
    - U.[P:A] => T.[P:A]
    - T.[concrete: G<C>] => T
    - T.[concrete: G<C> : P] => T

Since U.[P]A and T.[P]A are concrete, we split the abstract same-type
requirement into two requirements, and re-run minimization:

    - U : P
    - T.[P]A == C
    - U.[P]A == C
    - T == G<C>

The concrete conformance rule T.[concrete: G<C> : P] => T does not
correspond to a requirement, so it was simply dropped, and the above
rules violate post-contraction invariants; T.[P]A is not a valid
type parameter because there is no conformance requirement T : P in
the minimized signature.

We can fix this by re-running concrete contraction after splitting
concrete equivalence classes. After contraction, the above requirements
turn into

    - U : P
    - C == C
    - U.[P]A == C
    - T == G<C>

Which correctly minimizes to

    - U : P
    - U.[P]A == C
    - T == G<C>

Both concrete contraction and concrete equivalence classes are hacks,
and we should think of a way to directly express the transformations
they perform with the rewrite system.

Fixes swiftlang#61192.
Swift Optimizer: improve ergonomics of EscapeUtils
…tead of `BridgedBuiltinID`

rdar://83361087
…essKind` instead of `

SILWitnessTableEntryKind`

rdar://83361087
[Sema] Do not attempt openning same generic argument twice while checking default parameter
swiftlang#61189)

* [Sema] Reject `@objc` functions with incompatible property wrapper in params

rdar://99443365

When generating `@objc` functions, the parameters were not checked for property wrapper and instead only the wrapped type was checked for compatibility. Added checks and diagnostics for incompatible property wrappers.
aschwaighofer and others added 15 commits September 20, 2022 08:32
…oads-dist

[Distributed] Prevent overloading on async in distributed methods, for wire compat
[cxx-interop][SwiftCompilerSources] Use C++ enums directly from Swift
Our current implementation of `func successor() -> MyType` relies on the ability to create a new instance of the type. For immortal foreign reference types, this wouldn't be reasonable to do.

rdar://100050151
…-contraction

RequirementMachine: Redo concrete contraction after splitting concrete equivalence classes
…-coroutine

SIL: Use the right generic signature for computing SIL function type for coroutine accessors
[NFC] Rename MissingImport cases and tests
…-no-immortal

[cxx-interop] Do not synthesize `successor()` for immortal types
…ointer_for_enum_tag_runtime_calls

IRGen: Sign function pointers passed to swift_(store/get)EnumTagSinglePayloadGeneric calls
…ation

[DI] Add a way to determine full initialization points
…ild-early-swiftsyntax

Revert "Default to building the early SwiftSyntax package."
…ite-to-gh-issues-29

Gardening: Migrate test suite to GH issues p. 29
@kateinoigakukun kateinoigakukun merged commit 7b57c21 into swiftwasm Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.