[llvm] Add release notes for LLDB inline diagnostics (PR #116841)

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 08:48:43 PST 2024


https://github.com/adrian-prantl created https://github.com/llvm/llvm-project/pull/116841

None

>From f51fe30e79f37b7f1d9a7714333751978c828a69 Mon Sep 17 00:00:00 2001
From: Adrian Prantl <aprantl at apple.com>
Date: Tue, 19 Nov 2024 08:47:53 -0800
Subject: [PATCH] Add release notes for LLDB inline diagnostics

---
 llvm/docs/ReleaseNotes.md | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/llvm/docs/ReleaseNotes.md b/llvm/docs/ReleaseNotes.md
index e9749e591f95c2..142db867b566ec 100644
--- a/llvm/docs/ReleaseNotes.md
+++ b/llvm/docs/ReleaseNotes.md
@@ -325,6 +325,28 @@ Changes to the LLVM tools
 Changes to LLDB
 ---------------------------------
 
+* LLDB now now supports inline diagnostics for the expression evaluator and command line parser.
+
+  Old:
+  ```
+  (lldb) p a+b
+  error: <user expression 0>:1:1: use of undeclared identifier 'a'
+      1 | a+b
+        | ^
+  error: <user expression 0>:1:3: use of undeclared identifier 'b'
+      1 | a+b
+        |   ^
+  ```
+
+  New:
+
+  ```
+  (lldb) p a+b
+           ˄ ˄
+           │ ╰─ error: use of undeclared identifier 'b'
+           ╰─ error: use of undeclared identifier 'a'
+  ```
+
 * LLDB can now read the `fpmr` register from AArch64 Linux processes and core
   files.
 



More information about the llvm-commits mailing list