about summary refs log tree commit diff
path: root/src/etc/lldb_lookup.py
AgeCommit message (Collapse)AuthorLines
2025-08-17feat(lldb debug info): deref pointer types for more accurate rust type ↵nilptr-0/+3
classification
2024-12-31use python built in type annotationsWalnut-44/+42
2024-05-11lldb-formatters: Use StdSliceSyntheticProvider for &strVladimir Makayev-1/+1
2024-05-05Implement lldb formattter for "clang encoded" enums (LLDB 18.1+)Vladimir Makayev-1/+2
Summary: I landed a fix last year to enable `DW_TAG_variant_part` encoding in LLDBs (https://reviews.llvm.org/D149213). This PR is a corresponding fix in synthetic formatters to decode that information. This is in no way perfect implementation but at least it improves the status quo. But most types of enums will be visible and debuggable in some way. I've also updated most of the existing tests that touch enums and re-enabled test cases based on LLDB for enums. Test Plan: ran tests `./x test tests/debuginfo/`. Also tested manually in LLDB CLI and LLDB VSCode Other Thoughs A better approach would probably be adopting [formatters from codelldb](https://github.com/vadimcn/codelldb/blob/master/formatters/rust.py). There is some neat hack that hooks up summary provider via synthetic provider which can ultimately fix more display issues for Rust types and enums too. But getting it to work well might take more time that I have right now.
2024-03-29Add rust-lldb pretty printing for Path and PathBufNathan Henrie-0/+5
Fixes https://github.com/rust-lang/rust/issues/120553 Fixes https://github.com/rust-lang/rust/issues/48462
2023-04-20Spelling tools/compiletestJosh Soref-1/+1
spelling: exactly spelling: synthetic Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-08-24Add GDB/LLDB pretty-printers for NonZero typesArtem Mukhin-0/+3
2020-09-08Implement HashSet in terms of hashbrown::HashSetMatt Brubeck-1/+1
2020-06-09Implement new gdb/lldb pretty-printersortem-0/+115
Replace old GDB and LLDB pretty-printers with new ones which were originally written for IntelliJ Rust. New LLDB pretty-printers support synthetic children. New GDB/LLDB pretty-printers support all Rust types supported by old pretty-printers, and also support: Rc, Arc, Cell, Ref, RefCell, RefMut, HashMap, HashSet.