Skip to content

[pull] swiftwasm from main #4214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 33 commits into from
Feb 4, 2022
Merged

[pull] swiftwasm from main #4214

merged 33 commits into from
Feb 4, 2022

Conversation

pull[bot]
Copy link

@pull pull bot commented Feb 4, 2022

See Commits and Changes for more details.


Created by pull[bot]

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

edymtt and others added 30 commits February 1, 2022 12:57
This should address a build failure on TSAN - libdispatch Linux bots

Addresses rdar://88339546
And fix operators not printing when we can't get a `MemberOperatorRef`.
Inserts the synthesized implementation.
As part of this, fix some ASTPrinter bugs.

rdar://87904700
Lowering hops to actors expected the executor to either be an optional
builtin executor type or an actor type. The type coming from
`getMainExecutor` is just a builtin executor, not an optional. As a
result, `LowerHopToActor::emitGetExecutor` would get called in
`LowerHopToActor::processHop`, and would try looking up the builtin
executor type, thinking it was an actor type. This would fail because we
didn't have an actor type.

```
auto actorConf = module->lookupConformance(actorType, actorProtocol);
    assert(actorConf &&
           "hop_to_executor with actor that doesn't conform to Actor");
```

The end result was hitting this assert here, saying that the "actor"
doesn't conform to actor.

The fix is to wrap the executor in an optional.
…ore-syms

[SymbolGraph] consider underscored symbols as `private` if they're `internal`
[Distributed] Update availability of distributed types to 5.7
Test failure tracked in rdar://88451721.
…rchConformanceReflectionTest

Disable `conformance_descriptors.swift` on Linux AArch64
Any test using swift version 6 will only work on asserts builds of the
compiler to avoid seeing:

```
<unknown>:0: error: invalid value '6' in '-swift-version 6'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5'
```
…aram

[cxx-interop] Fix crash when calling method that returns specialization of parent.
…ures

Swift 6 mode is only available on asserts builds
Use `emitArtificialFunction` to let debug info know that compiler
is about to generate code for distributed accessor.
…h-synth-init

[SymbolGraph] don't filter out all implicit decls
…async

Fix SILOptimizer crash for top-level async code
Change spelling of "ParametrizedProtocolType" to "ParameterizedProtocolType"
gottesmm and others added 2 commits February 3, 2022 19:19
…c1a83ae98c687330d85ea12

[value-move-function] Eliminate unnecessary book keeping.
[Refactoring] Add Codable refactoring action
[Distributed] IRGen: Let debug info know about distributed accessor
MaxDesiatov
MaxDesiatov previously approved these changes Feb 4, 2022
@MaxDesiatov MaxDesiatov merged commit 36ebf9b into swiftwasm Feb 4, 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.