Skip to content

Conversation

@jimingham
Copy link

…thod

calls to commonly un-overridden methods into a function that checks whether
the method is overridden anywhere and if not directly dispatches to the
NSObject implementation.

That means if you do override any of these methods, "step-in" will not step
into your code, since we hit the wrapper function, which has no debug info,
and immediately step out again.

Add code to recognize these functions as "trampolines" and a thread plan that
will get us from the function to the user code, if overridden.

rdar://problem/54404114

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

…thod

calls to commonly un-overridden methods into a function that checks whether
the method is overridden anywhere and if not directly dispatches to the
NSObject implementation.

That means if you do override any of these methods, "step-in" will not step
into your code, since we hit the wrapper function, which has no debug info,
and immediately step out again.

Add code to recognize these functions as "trampolines" and a thread plan that
will get us from the function to the user code, if overridden.

<rdar://problem/54404114>

Differential Revision: https://reviews.llvm.org/D73225
@JDevlieghere
Copy link

@swift-ci please test macos

@JDevlieghere
Copy link

This should probably also go on apple/stable/20200108

@jimingham
Copy link
Author

Yes, that's:

#653

@jimingham jimingham merged commit 7e391ca into swiftlang:apple/stable/20190619 Jan 24, 2020
@jimingham jimingham deleted the direct-dispatch-j branch January 24, 2020 02:29
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