[lldb] [llvm] [LLDB] Switch to using DIL as default implementation for 'frame var'. (PR #147887)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 10 08:52:23 PDT 2025
https://github.com/cmtice updated https://github.com/llvm/llvm-project/pull/147887
>From 3dbe09deb36a44eb056fa2d3d7dacd341e391697 Mon Sep 17 00:00:00 2001
From: Caroline Tice <cmtice at google.com>
Date: Wed, 9 Jul 2025 20:42:03 -0700
Subject: [PATCH] [LLDB] Switch to using DIL as default implementation for
'frame var'.
---
lldb/source/Target/TargetProperties.td | 4 ++--
llvm/docs/ReleaseNotes.md | 8 ++++++++
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/lldb/source/Target/TargetProperties.td b/lldb/source/Target/TargetProperties.td
index 4aa9e046d6077..656503bb8d228 100644
--- a/lldb/source/Target/TargetProperties.td
+++ b/lldb/source/Target/TargetProperties.td
@@ -5,8 +5,8 @@ let Definition = "target_experimental" in {
Global, DefaultTrue,
Desc<"If true, inject local variables explicitly into the expression text. This will fix symbol resolution when there are name collisions between ivars and local variables. But it can make expressions run much more slowly.">;
def UseDIL : Property<"use-DIL", "Boolean">,
- Global, DefaultFalse,
- Desc<"If true, use the alternative DIL implementation for frame variable evaluation.">;
+ Global, DefaultTrue,
+ Desc<"If true, use the DIL implementation for frame variable evaluation.">;
}
let Definition = "target" in {
diff --git a/llvm/docs/ReleaseNotes.md b/llvm/docs/ReleaseNotes.md
index daf822388a2ff..5d2146b7f2f75 100644
--- a/llvm/docs/ReleaseNotes.md
+++ b/llvm/docs/ReleaseNotes.md
@@ -306,6 +306,14 @@ Changes to LLDB
stop reason = SIGSEGV: sent by tkill system call (sender pid=649752, uid=2667987)
```
* ELF Cores can now have their siginfo structures inspected using `thread siginfo`.
+* LLDB now uses
+ [DIL](https://discourse.llvm.org/t/rfc-data-inspection-language/69893) as the
+ default implementation for 'frame variable'. This should not change the
+ behavior of 'frame variable' at all, at this time. To revert to using the
+ old implementation use
+ ```
+ settings set target.experimental.use-DIL false
+ ```
### Changes to lldb-dap
More information about the llvm-commits
mailing list