Skip to content

Merge stable into 5.5 #3075

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 7 commits into from
Jul 7, 2021
Merged

Conversation

JDevlieghere
Copy link

No description provided.

JDevlieghere and others added 7 commits June 25, 2021 15:59
Avoid standing the Objective-C runtime lock by calling
objc_copyRealizedClassList_nolock instead of objc_copyRealizedClassList.

We already guarantee that no other threads can run while we're running
this utility expression, similar to when we parse the data ourselves
from the gdb_objc_realized_classes struct.

Worst case this will crash if the list is getting edited, which won't do
any harm and we'll just try again later.

Differential revision: https://reviews.llvm.org/D104951

(cherry picked from commit ffc0533)
…35044ce7c2bd076392

[lldb] Use the non-locking variant of objc_copyRealizedClassList
…st_nolock

When we check whether the Objective-C SPI is available, we need to check
for the mangled symbol name. Unlike `objc_copyRealizedClassList`, which
is C exported, the `nolock` variant is not.

Differential revision: https://reviews.llvm.org/D105136

(cherry picked from commit 71be4db)
…f54cf273b530327ec7

[lldb] Check for the mangled symbol name for objc_copyRealizedClassLi…
This test was originally xfailed because of a bug on iOS. This has since been fixed, so reenabling the test.

(cherry picked from commit 05e48ec)
on arm64e, pointer auth would catch this access violation before asan.
sign the function pointer so pointer auth will ignore this violation and let asan catch it in this test case.

rdar://79652167

Reviewed By: delcypher

Differential Revision: https://reviews.llvm.org/D104828

(cherry picked from commit f26adaa)
@JDevlieghere
Copy link
Author

@swift-ci please test

@JDevlieghere JDevlieghere merged commit 1acc9d4 into swift/release/5.5 Jul 7, 2021
@JDevlieghere JDevlieghere deleted the merge-stable-into-5.5 branch July 7, 2021 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants