[Lldb-commits] [lldb] [LLDB] Add user documentation for DIL. (PR #228275)

Ilia Kuklin via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 2 09:01:20 PDT 2026


================
@@ -0,0 +1,278 @@
+# DIL: The Data Inspection Language
+
+This page explains the Data Inspection Language (DIL) in LLDB. Most of this
+document is intended for LLDB users, from both the command line and through
+IDE's (Integrated Development Environments) via lldb-dap. At the end there is
+some additional information for LLDB developers.
+
+## Background: What is DIL and why did we implement it?
+
+As the name implies, the Data Inspection Language is a language that was created
+specifically to improve the stability and performance of program data
+introspection in LLDB, particularly when that introspection requires evaluating
+any simple expressions (which is often the case when data formatters and
+synthetic children are involved).
+
+Prior to the introduction of DIL, nearly all expression evaluations in LLDB had
----------------
kuilpd wrote:

I think we should both say this, and emphasize that DIL indeed runs way faster and more stable.

https://github.com/llvm/llvm-project/pull/228275


More information about the lldb-commits mailing list