Skip to content
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

[pull] swiftwasm from main #5515

Merged
merged 15 commits into from Jun 12, 2023
Merged

[pull] swiftwasm from main #5515

merged 15 commits into from Jun 12, 2023

Conversation

pull[bot]
Copy link

@pull pull bot commented Jun 12, 2023

See Commits and Changes for more details.


Created by pull[bot]

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

aschwaighofer and others added 15 commits June 9, 2023 11:37
… storage

If the storage is opaque we need to project to the underlying buffer.

rdar://109636344
…ould not be able to import modules that do enable C++ interoperability by default

A supplemental hidden frontend option allows advanced users to opt-out of this requirement.

Fixes apple#65833
Fixes apple#65832
Some frameworks that previously had a separate swift overlay have been
merged in macOS 14. This is causing symbols to not resolve if using the
new SDK but running on an older OS in immediate mode. Ideally we would
handle this automatically in JITLink as is done by the system linker,
but in the meantime add a workaround to load the correct libraries
manually.

rdar://110371405
The `hasStorage()` computation is used in many places to determine the
signatures of other declarations. It currently needs to expand accessor
macros, which causes a number of cyclic references. Provide a
simplified request to determine `hasStorage` without expanding or
resolving macros, breaking a common pattern of cycles when using
macros.

Fixes rdar://109668383.
… impl info

Slightly cleanup, and make an assertion less strict in the face of invalid
code.
Now that we've made accessor macro expansion more lazy, ensure that
when querying for init accessors (e.g., to build a memberwise
initializer), we also expand any accessor macros that might produce an
init accessor.

This is a partial step toward the real goal, which is that
`AbstractStorageDecl::getAccessor()` should lazily expand macros if
needed.

Update the Observable macro to document that it produces an `init`
accessor.
Remove an early iteration of cycle-breaking in `PatternBindingEntryRequest`
that has been subsumed by the lazy computation of
`AbstractStorageDecl::hasStorage()`. We can now directly use
`hasStorage()` here.
Requestify `AbstractStorageDecl::hasStorage()`.
Data structures must be layout compatible when built with and without asserts.

Fixes a  compiler crash when C++ sources are built without asserts because SwiftCompilerSources are built with asserts.

rdar://110363377
fix an assert-nonassert mismatch in SILModule
[cxx-interop] compilations that do not enable C++ interoperability sh…
[Immediate] Workaround for loading merged frameworks in immediate mode
IRGen: alloc_global and global_addr instructions need to agree on the storage
@kateinoigakukun kateinoigakukun merged commit 222c704 into swiftwasm Jun 12, 2023
9 checks passed
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.

None yet

8 participants