Uploaded July 2025 | Updated September 2026, 2 weeks ago
2025 AsiaLLVM Developers' Meeting
llvm.org/devmtg/2025-06
------
Title: The Data Inspection Language: Fast & Simple Expression Evaluation in LLDB
Speakers: Andrei Lebedev
------
Slides: llvm.org/devmtg/2025-06/slides/quick-talk/lebedev-lldb.pdf
-----
LLDB often spends a substantial amount of time evaluating expressions needed for displaying certain debug information in an IDE. Currently, this work must be done by LLDB’s full expression evaluator, a very powerful but somewhat slow and heavyweight mechanism. However, these expressions tend to be small and simple, so most of them could be evaluated much faster. The approach of a fast limited expression evaluator was leveraged in lldb-eval for a limited C++ subset proving that the approach is viable. In this talk we introduce the Data Inspection Language (DIL) – a new LLVM mainline effort based partly on lldb-eval that aims to expand its capabilities, make it more robust and language-agnostic. The goal of DIL is to eventually replace the existing frame variable mechanism in LLDB, permitting it to be used for simple expression evaluation. This new implementation will greatly increase the capabilities of ‘frame variable’, allowing it to quickly and directly evaluate simple expressions, in turn allowing to bypass the full expression evaluator in many common cases.
-----
Videos Edited by Bash Films: BashFilms.com
2025 AsiaLLVM Developers' Meeting
llvm.org/devmtg/2025-06
------
Title: The Data Inspection Language: Fast & Simple Expression Evaluation in LLDB
Speakers: Andrei Lebedev
------
Slides: llvm.org/devmtg/2025-06/slides/quick-talk/lebedev-lldb.pdf
-----
LLDB often spends a substantial amount of time evaluating expressions needed for displaying certain debug information in an IDE. Currently, this work must be done by LLDB’s full expression evaluator, a very powerful but somewhat slow and heavyweight mechanism. However, these expressions tend to be small and simple, so most of them could be evaluated much faster. The approach of a fast limited expression evaluator was leveraged in lldb-eval for a limited C++ subset proving that the approach is viable. In this talk we introduce the Data Inspection Language (DIL) – a new LLVM mainline effort based partly on lldb-eval that aims to expand its capabilities, make it more robust and language-agnostic. The goal of DIL is to eventually replace the existing frame variable mechanism in LLDB, permitting it to be used for simple expression evaluation. This new implementation will greatly increase the capabilities of ‘frame variable’, allowing it to quickly and directly evaluate simple expressions, in turn allowing to bypass the full expression evaluator in many common cases.
-----
Videos Edited by Bash Films: BashFilms.com










