Skip to content

[pull] swiftwasm from master #1434

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
Jul 11, 2020
Merged

[pull] swiftwasm from master #1434

merged 33 commits into from
Jul 11, 2020

Conversation

pull[bot]
Copy link

@pull pull bot commented Jul 11, 2020

See Commits and Changes for more details.


Created by pull[bot]. Want to support this open source service? Please star it : )

varungandhi-apple and others added 30 commits July 8, 2020 17:57
Clarify `llvm_unreachable` after exhaustive switch is needed to silence
MSVC C4715, so we don't accidentally remove it.

Standardize some assertion messages.
The stderr handles seem to behave differently under Python 3.  Use the
`-log-path` option to capture the standard error output and validate the
output.
Without this the remote-run tests fail due to expecting a "bytes-like"
object rather than str.
Python3 does not like the use of the unpacked tuple in the argument
list, change the function's arity and require the caller to expand the
tuple.

`map` now returns an iterator rather than a list, simplify the iteration
to unpack the elements in the list and use that to invoke the map'ed
method instead.
There seems to be case where parentDC->getAsDecl() returns nullptr.
I haven't been able to find a reproducer.

rdar://problem/61765124
Today unchecked_bitwise_cast returns a value with ObjCUnowned ownership. This is
important to do since the instruction can truncate memory meaning we want to
treat it as a new object that must be copied before use.

This means that in OSSA we do not have a purely ossa forwarding unchecked
layout-compatible assuming cast. This role is filled by unchecked_value_cast.
… coverage for ossa.

Specifically, we were missing a bunch of coverage around specializing guaranteed
parameters and non-trivial values in general.
Now that conformance descriptors are signed before being passed to
swift_compareProtocolConformanceDescriptors on arm64e from metadata
accessors when prespecialization is enabled, the tests must be updated
for that platform to look for the signing.
Removes the "__swift_mode_t" type from SwiftShims. This type is no longer used anywhere.
Any C++ type that isn't trivially copyable is now also not a trivial type. This will preserve the destructor (among other things).
See rdar://problem/65281056 .
…a-prespecialization-components/consider-conformances-ptrauth-tests
…ble setters.

Part of rdar://problem/65152582, where key paths were generating references to setters in contexts where they weren't
available.
…nthesized from.

If a modify/mutableAddress coroutine is defined with availability, or a property wrapper adds a setter with availability,
then the implicit synthesized setter should be as available as those declarations it's synthesized from. rdar://problem/65152582
…765124

[CodeCompletion] Safer getEquivalentDeclContextFromSourceFile()
[ownership] Fix the eager specializer for ownership
…test

test: make test syntactically compatible with Python3
`VJPCloner.h` is now tiny: `VJPCloner` exposes only a `bool run()` entry point.

All of the implementation is moved to `VJPCloner::Implementation` in
`VJPCloner.cpp`. Methods can be defined directly in `VJPCloner.cpp` without
separate declarations.
…spi-deps-in-trace

Include SPI dependencies in module trace.
…Request

Even if the conformance to Encodable or Decodable is via an extension, the
nested type is synthesized as a member of the type itself, so that it can
be shared by both conformances. Make sure we force it to be synthesized in
this case.
`JVPCloner.h` is now tiny: `JVPCloner` exposes only a `bool run()` entry point.

All of the implementation is moved to `JVPCloner::Implementation` in
`JVPCloner.cpp`. Methods can be defined directly in `JVPCloner.cpp` without
separate declarations.
test: use `-log-path` for stderr access in ModuleInterface tests
test: make `remote-run` Python 3 friendly
…ilability

Availability-related fixes with keypaths, _modify, and/or property wrappers
dan-zheng and others added 3 commits July 10, 2020 18:35
[AutoDiff] NFC: Reimplement derivative function cloners using pimpl pattern.
…nthesis

Sema: Force synthesis of the CodingKeys nested type in EmittedMembersRequest
@pull pull bot merged commit ea57903 into swiftwasm Jul 11, 2020
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.