Skip to content

[lldb] Fix missing characters when autocompleting LLDB commands in REPL #1388

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 1 commit into from
Jul 3, 2020

Conversation

poya
Copy link

@poya poya commented Jun 29, 2020

When tabbing to autocomplete LLDB commands in the Swift REPL, characters would at best be missing from the completed command, but at worst cause the REPL to crash due to out of range string access

https://bugs.swift.org/browse/SR-12867

@poya poya closed this Jun 30, 2020
@poya
Copy link
Author

poya commented Jun 30, 2020

Realized that the main code change should probably go to the upstream, and only the test belongs here

@poya poya reopened this Jun 30, 2020
@poya poya marked this pull request as draft June 30, 2020 01:22
@poya poya closed this Jun 30, 2020
@poya poya reopened this Jun 30, 2020
@poya
Copy link
Author

poya commented Jun 30, 2020

Fix in https://reviews.llvm.org/D82835 and tests in this PR

@poya poya changed the base branch from swift/master to swift/master-next June 30, 2020 04:25
@poya poya marked this pull request as ready for review July 3, 2020 13:14
@poya
Copy link
Author

poya commented Jul 3, 2020

@Teemperor Please have a look at this accompanying Swift REPL test for https://reviews.llvm.org/D82835

@Teemperor
Copy link

LGTM, thanks for fixing this!

@Teemperor Teemperor merged commit 4003905 into swiftlang:swift/master-next Jul 3, 2020
@poya poya deleted the bug/SR-12867 branch July 4, 2020 00:25
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