summaryrefslogtreecommitdiff
path: root/lldb/source/ValueObject/DILEval.cpp
AgeCommit message (Collapse)Author
2025-07-03[LLDB] Optimize identifier lookup in DIL (#146094)Ilia Kuklin
Remove unused code and unnecessary function calls, optimize global variable search. Add more test cases.
2025-07-01[LLDB] Update DIL to pass current 'frame var' tests. (#145055)cmtice
As a preliminary to making DIL the default implementation for 'frame var', ran check-lldb forcing 'frame var' to always use DIL, and discovered a few failing tests. This fixes most of them. The only remaining failing test is TestDAP_evaluate.py, which now passes a test case that the test says should fail (still investigating this). Changes in this PR: - Sets correct VariableSP, as well as returning ValueObjectSP (needed for several watchpoint tests). - Updates error messages, when looking up members, to match what the rest of LLDB expects. Also update appropriate DIL tests to expect the updated error messages. - Updates DIL parser to look for and accept "(anonymous namespace)::" at the front of a variable name.
2025-06-27[LLDB] Update DIL to handle smart pointers; add more tests. (#143786)cmtice
This updates the DIL implementation to handle smart pointers (accessing field members and dereferencing) in the same way the current 'frame variable' implementation does. It also adds tests for handling smart pointers, as well as some additional DIL tests.
2025-06-13[LLDB] Add bit extraction to DIL (#141422)Ilia Kuklin
2025-05-25[LLDB] Add array subscription and integer parsing to DIL (#141102)Ilia Kuklin
Reapply #138551 with an xfailed test on Windows
2025-05-23[LLDB] Add field member operators to DIL (#138093)cmtice
Add the arrow and period operators, allowing DIL to find and access member fields.
2025-05-22Revert "[LLDB] Add array subscription and integer parsing to DIL" (#141059)Ilia Kuklin
Reverts llvm/llvm-project#138551
2025-05-22[LLDB] Add array subscription and integer parsing to DIL (#138551)Ilia Kuklin
2025-04-29[LLDB] Add unary operators Dereference and AddressOf to DIL (#134428)Ilia Kuklin
2025-04-03[LLDB] Add DIL code for handling plain variable names. (#120971)cmtice
Add the Data Inspection Language (DIL) implementation pieces for handling plain local and global variable names. See https://discourse.llvm.org/t/rfc-data-inspection-language/69893 for information about DIL. This change includes the basic AST, Lexer, Parser and Evaluator pieces, as well as some tests.