about summary refs log tree commit diff
path: root/tests/debuginfo/tuple-style-enum.rs
AgeCommit message (Collapse)AuthorLines
2025-08-01Remove the omit_gdb_pretty_printer_section attributebjorn3-2/+1
Disabling loading of pretty printers in the debugger itself is more reliable. Before this commit the .gdb_debug_scripts section couldn't be included in dylibs or rlibs as otherwise there is no way to disable the section anymore without recompiling the entire standard library.
2024-08-18Convert lldbg- to lldb-Ben Kimock-4/+4
2024-08-18Delete lldbr annotationsBen Kimock-4/+0
2024-08-18Delete redundant gdb-version requirements and related commentsBen Kimock-2/+0
2024-08-18Replace gdbr with gdbgBen Kimock-4/+4
2024-05-05Implement lldb formattter for "clang encoded" enums (LLDB 18.1+)Vladimir Makayev-1/+5
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-15Use explicit LLDB commands instead of `print`/`p` aliases.Markus Reiter-4/+4
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-3/+3
2023-04-14rename rust-lldb to needs-rust-lldb for consistencyPietro Albini-1/+1
2023-01-11Move /src/test to /testsAlbert Larsan-0/+90