Add initial LLDB pretty printer for some base Chapel types#27602
Merged
jabraham17 merged 10 commits intochapel-lang:mainfrom Aug 6, 2025
Merged
Add initial LLDB pretty printer for some base Chapel types#27602jabraham17 merged 10 commits intochapel-lang:mainfrom
jabraham17 merged 10 commits intochapel-lang:mainfrom
Conversation
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
lydia-duncan
approved these changes
Aug 6, 2025
Member
lydia-duncan
left a comment
There was a problem hiding this comment.
Just a couple of cleanup thoughts, this is really exciting to have!
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
lydia-duncan
approved these changes
Aug 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds some initial pretty printing logic to
--lldbfor COMM=none programs. This pretty print works entirely for the C backend and partially for the LLVM backend (for now).This PR adds printers for the following types
Resolves #27197
Note that this does NOT add tests of the pretty printer, as our primary linux64 nightly test machine has an LLDB without Python support. Its possible we can adjust this install or add testing on other machines.
Future work
std::nullptr_twith LLVM (see [Bug]: LLVM backend writes incorrect debug type information for classes #27603)[Reviewed by @lydia-duncan]