-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add LLDB pretty-printing #8460
Add LLDB pretty-printing #8460
Conversation
Any idea how this works with "naked" LLDB? If so, adding a comment would be nice. |
This just installs pretty printers. So after loading the script via |
Can you add some documentation mention so folks know it exists? Perhaps in the README or maybe an added page in the Doxygen? I guess it's Halide internal devr only, but having a couple lines on it in docs means it will get used. Probably also worth writing down the command line flags to use it with straight command line lldb. |
Of course -- I'll do that as I fix the indents I broke |
Can you post some example lldb output with this enabled? |
Status? |
Still in progress. I added a bunch more rules in a private branch and will need to update this PR |
0e66142
to
7d1abe6
Compare
b81e5ee
to
030db8b
Compare
Pulling out changes from my rfactor work...
This PR adds some features for visualizing Halide's types in LLDB, which my IDE (CLion) uses. The IR printer supports a "summary" mode that replaces certain subexpressions / blocks with ellipses. This has greatly improved my debugging experience. I encourage others to add to this and tweak it.