Skip to content

[pull] swiftwasm from main #5459

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 12 commits into from
May 23, 2023
Merged

[pull] swiftwasm from main #5459

merged 12 commits into from
May 23, 2023

Conversation

pull[bot]
Copy link

@pull pull bot commented May 23, 2023

See Commits and Changes for more details.


Created by pull[bot]

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

thunderseethe and others added 12 commits May 18, 2023 15:53
Re-enable PrintAsObjC/availability-real-sdk and PrintAsObjC/override, they are now passing.
Currently any buildbot that runs LLDB API tests does so
against the system SDK. However, we explicitly need users
to run the tests against a newly built libcxx. We recently
added a new `LLDB_TEST_LIBCXX_ROOT_DIR` CMake variable to
LLDB to allow standalone builds to point their tests to
a custom libcxx directory.

This patch makes sure the relevant LLDB presets build
libcxx and then sets above CMake variable.
…nsuint

Correctly print swift `Int` property as `NSUInteger` when it overrides an `NSUInteger` objc property.
This matches the behavior of `printAlwaysOnStatsAndTimers`,
which we use in a release build. This fixes the
diverging behavior, and ensures process-stats-dir
can handle comparing deltas between runs where
one of the runs had a 0 counter.
Avoid parsing the syntax tree up-front, and instead
only parse it when required, which happens when either:

1. ASTGen parsing is enabled (currently disabled
   by default)
2. Round trip checking is enabled for a primary
   file (enabled by default in a debug build,
   except when dep scanning or doing an IDE
   operation)
3. We need to evaluate a macro in that file

This change therefore means that we now no longer
need to parse the syntax tree for secondary files
by default unless we specifically need to evaluate
a macro in them (e.g if we need to lookup a member
on a decl with an attached macro). And the same
for primaries in release builds.

rdar://109283847
…try-directive

add missing %empty-directory in test
…ut strings (swiftlang#66055)

rdar://109660582

This will create more visibility into layout string allocations when using swift-inspect.
…ots-libcxx-testing

[Build] Make sure lldb API tests run against newly built libcxx
@kateinoigakukun kateinoigakukun merged commit 760e8f8 into swiftwasm May 23, 2023
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.

10 participants