Skip to content

Don't ask trampoline handler plans to step past line 0. (#216770) - #13897

Open
jimingham wants to merge 1 commit into
swiftlang:stable/23.xfrom
jimingham:no-line0-23.x
Open

Don't ask trampoline handler plans to step past line 0. (#216770)#13897
jimingham wants to merge 1 commit into
swiftlang:stable/23.xfrom
jimingham:no-line0-23.x

Conversation

@jimingham

Copy link
Copy Markdown

That isbetter done by the source line stepping plans. This fixes a test suite failure on the swift fork, but I don't know how to really write a test for it since it depends on getting to a function whose first instruction is attributed to line 0 by an ObjC direct dispatch. Turns out swift does this in its present incarnation.

But this division of labor really is the right way to work the machine, since that makes the trampoline plans easier to reason about, and if stepping past line 0 is desired, there's always going to be a source line stepping plan controlling the step that will do the job.

(cherry picked from commit 27ffa74)

That isbetter done by the source line stepping plans.
This fixes a test suite failure on the swift fork, but I don't know how
to really write a test for it since it depends on getting to a function
whose first instruction is attributed to line 0 by an ObjC direct
dispatch. Turns out swift does this in its present incarnation.

But this division of labor really is the right way to work the machine,
since that makes the trampoline plans easier to reason about, and if
stepping past line 0 is desired, there's always going to be a source
line stepping plan controlling the step that will do the job.

(cherry picked from commit 27ffa74)
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.

1 participant