Skip to content

[pull] swiftwasm from main #4561

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 21 commits into from
May 17, 2022
Merged

[pull] swiftwasm from main #4561

merged 21 commits into from
May 17, 2022

Conversation

pull[bot]
Copy link

@pull pull bot commented May 17, 2022

See Commits and Changes for more details.


Created by pull[bot]

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

meg-gupta and others added 21 commits May 11, 2022 21:15
Properties can also be specified in a protocol/overridden by subclasses,
so they should also be classed as "dynamic" in these cases.

Removed receiver USRs when *not* dynamic, since it's not used for
anything in that case and should be equivalent to the container anyway.

Resolves rdar://92882348.
We currently don't have any tests for remangler error handling, because in
asserts builds it asserts. This patch adds a flag that only exists in !NDEBUG
builds to turn off assertions when inside the unit tests.
This will allow us to add Swift conformances to C++ standard library types, and improve usability of the C++ standard library from Swift.
…ized module interface

`.swiftinterface` files contain a list of compiler flags that were used to build the module. For example, the list includes `-enable-objc-interop`. It should also include `-enable-experimental-cxx-interop`, since it affects the way the module should be imported.
Swiftc port of swiftlang/llvm-project#4207.

This introduces a new flag, `-file-prefix-map` which can be used
instead of the existing `-debug-prefix-map` and `-coverage-prefix-map`
flags, and also remaps paths in index information currently.
* Bump the Swift version to 5.8
As we do with field indices for struct instructions.
This avoids quadratic behavior in case of enums with lots of cases.
Also: cache field and enum case indices in the SILModule.
…operties

[SourceKit] Add whether a property is dynamic
…erlay

[cxx-interop] Add basic C++ stdlib overlay
Add unittests for the remangler, particularly to cover error handling.
Support hermetic indexing information + introduce `-file-prefix-map`
SIL: cache case indices in enum instructions.
…xcode-versions

Add newer supported Xcode versions
…_case-to-CXXMethodBridging

[cxx-interop] Add snake_case to CXXMethodBridging
@kateinoigakukun kateinoigakukun merged commit be1a665 into swiftwasm May 17, 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.