about summary refs log tree commit diff
path: root/tests/debuginfo/enum-thinlto.rs
AgeCommit message (Collapse)AuthorLines
2024-08-18Convert lldbg- to lldb-Ben Kimock-1/+1
2024-08-18Delete lldbr annotationsBen Kimock-1/+0
2024-08-18Delete min-lldb-version: 310Ben Kimock-2/+0
2024-08-18Replace gdbr with gdbgBen Kimock-1/+1
2024-05-05Implement lldb formattter for "clang encoded" enums (LLDB 18.1+)Vladimir Makayev-2/+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-15Use explicit LLDB commands instead of `print`/`p` aliases.Markus Reiter-2/+2
2024-03-14Remove LLDB persistent results in `compiletest`.Markus Reiter-1/+1
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-2/+2
2023-01-11Move /src/test to /testsAlbert Larsan-0/+46