Skip to content

[lldb] Be aware of async functions in the form of closures #4966

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

Conversation

kastiglione
Copy link

@kastiglione kastiglione commented Jul 13, 2022

Recognize async closures as being async, in IsSwiftAsyncFunctionSymbol. Like static functions, this requires peeling off a wrapper node to get to the Function node.

rdar://94840584

@kastiglione
Copy link
Author

@swift-ci test

@kastiglione
Copy link
Author

I'll add a test for this.

@kastiglione
Copy link
Author

@swift-ci test

@kastiglione kastiglione merged commit ed878fe into stable/20211026 Jul 14, 2022
@kastiglione kastiglione deleted the dl/lldb-be-aware-of-async-functions-in-the-form-of-closures branch July 14, 2022 22:54
kastiglione added a commit that referenced this pull request Jul 15, 2022
Recognize async closures as being async, in `IsSwiftAsyncFunctionSymbol`. Like `static` functions, this requires peeling off a wrapper node to get to the `Function` node.

rdar://94840584

(cherry-picked from commit ed878fe)
kastiglione added a commit that referenced this pull request Jul 15, 2022
Recognize async closures as being async, in `IsSwiftAsyncFunctionSymbol`. Like `static` functions, this requires peeling off a wrapper node to get to the `Function` node.

rdar://94840584

(cherry-picked from commit ed878fe)
kastiglione added a commit that referenced this pull request Jul 15, 2022
…4980)

Recognize async closures as being async, in `IsSwiftAsyncFunctionSymbol`. Like `static` functions, this requires peeling off a wrapper node to get to the `Function` node.

rdar://94840584

(cherry-picked from commit ed878fe)
kastiglione added a commit that referenced this pull request Jul 15, 2022
…4971)

Recognize async closures as being async, in `IsSwiftAsyncFunctionSymbol`. Like `static` functions, this requires peeling off a wrapper node to get to the `Function` node.

rdar://94840584

(cherry-picked from commit ed878fe)
kastiglione added a commit that referenced this pull request Jul 15, 2022
Recognize async closures as being async, in `IsSwiftAsyncFunctionSymbol`. Like `static` functions, this requires peeling off a wrapper node to get to the `Function` node.

rdar://94840584

(cherry-picked from commit ed878fe)
kastiglione added a commit that referenced this pull request Jul 19, 2022
…4980)

Recognize async closures as being async, in `IsSwiftAsyncFunctionSymbol`. Like `static` functions, this requires peeling off a wrapper node to get to the `Function` node.

rdar://94840584

(cherry-picked from commit ed878fe)

(cherry-picked from commit 5c812fe)
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