From f51fe30e79f37b7f1d9a7714333751978c828a69 Mon Sep 17 00:00:00 2001 From: Adrian Prantl 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 e9749e591f95c..142db867b566e 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: :1:1: use of undeclared identifier 'a' + 1 | a+b + | ^ + error: :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.