Skip to content

Conversation

@jimingham
Copy link

This patch adds the ability to write stop hooks in Python.

…ScriptInterpreter.""

This reverts commit f775fe5.

I fixed a return type error in the original patch that was causing a test failure.
Also added a REQUIRES: python to the shell test so we'll skip this for
people who build lldb w/o Python.
Also added another test for the error printing.

(cherry picked from commit 1b1d981)
This was looking at the privateState, but it's possible that
the actual process has started up and then stopped again by the
time we get to the check, which would lead us to get out of running
the stop hooks too early.

Instead we need to track the intention of the stop hooks directly.

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

(cherry picked from commit be66987)
@jimingham jimingham requested a review from JDevlieghere October 6, 2020 00:57
@jimingham
Copy link
Author

@swift-ci please test

1 similar comment
@jimingham
Copy link
Author

@swift-ci please test

@jimingham jimingham merged commit 2a63791 into swiftlang:apple/stable/20200714 Oct 6, 2020
@jimingham jimingham deleted the scripted-stop-hooks branch October 6, 2020 23:15
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