Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Nov 18, 2020

See Commits and Changes for more details.


Created by pull[bot]

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

mikeash and others added 14 commits November 16, 2020 16:49
…s to ConcurrentReadableHashMap.

rdar://problem/70220804
For non-asserts builds, this would produce the wrong result.  Simply
return from the function instead (as we do in the case where we expect
this to be handled).
…he async convention

The function can then be implemented in the runtime.

Note: This is a temporary hack.
Tests that need to execute need to be marked as such so they can be
skipped in platforms that are cross-compiled and do not have a target
platform available.

This situation happens in the Android CI machines.

Introduced in swiftlang#34746.
Seems that Windows uses TMP and TEMP (more details about why two in
https://devblogs.microsoft.com/oldnewthing/20150417-00/?p=44213), but
doesn't seem to use TMPDIR at all.

The changes set all three to the same value. I am not removing TMPDIR
just in case. It seems to avoid creating files in the other temporal
directories for the compilation and testing.

This temp directory should be clean up by the CI machines when
recreating the new working directory for the next build. Let's hope we
can stop having to babysit the CI servers every month.
swift-ide-test -batch-code-completion has no particular order for the
output completion list. Update the order dependent tests to use DAG
instead.
…UninitializedInst::get{,MarkUninitialized}Kind().

Interestingly this problem can only occur if one invokes
MarkUninitializedInst::getKind() directly. Once our instruction is just a
SILInstruction, we call the appropriate method so we didn't notice it.

I used Xcode's refactoring functionality to find all of the invocation
locations.
When mirroring declarations from protocols, make sure to mirror for
all potential imported names. Otherwise, we might miss out on one or
the other of an async import or a completion-handler import of the
same method.

Fixes rdar://71429577.
The previous change was too broad and caused several regressions.
@asyncHandler is currently unimplemented in SILGen, and will cause
SIL verifier assertions if used. Rather than trigger assertions, emit
a trap for the body. Obviously, this is a temporary hack.
[Concurrency] Emit @asyncHandler bodies as traps.
…-mirrored-protocols

[Clang importer] Make sure we mirror protocol decls for all names.
drodriguez and others added 9 commits November 18, 2020 08:10
…nd-tmpdir

[windows] Set TMP and TEMP, as well as TMPDIR.
…ires-executable

[android] Mark Interpreter/async as an executable test.
The mutating collection subscript for discontiguous slices assigns to the wrong group
of indices. This fixes the behavior and adds test coverage.

rdar://problem/70690643
The new implementation has been the default for a while now and
seems to be stable and relatively bug-free.
[Serialization] Fix crashes when allowing compiler errors in modules
…c6129e100c7aa7c374d4fa7

[sil] Element shadowing of SILInstruction::getKind() by renaming MarkUninitializedInst::get{,MarkUninitialized}Kind().
…gen_name

IRGen: Allow calling a pre-defined async silgen_name function using the async convention
…-concurrentreadablehashmap

[Runtime] Change ProtocolCache, NominalCache, and HashableConformances to ConcurrentReadableHashMap.
[Gardening] Fix up order-dependent batch code complete tests
@pull pull bot merged commit e267725 into swiftwasm Nov 19, 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.