[llvm] 3e552ed - Add release notes for LLDB inline diagnostics (#116841)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 09:00:58 PST 2024


Author: Adrian Prantl
Date: 2024-11-19T09:00:54-08:00
New Revision: 3e552ed58980d240993d7e937dd38c404c03ed66

URL: https://github.com/llvm/llvm-project/commit/3e552ed58980d240993d7e937dd38c404c03ed66
DIFF: https://github.com/llvm/llvm-project/commit/3e552ed58980d240993d7e937dd38c404c03ed66.diff

LOG: Add release notes for LLDB inline diagnostics (#116841)

Added: 
    

Modified: 
    llvm/docs/ReleaseNotes.md

Removed: 
    


################################################################################
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