[llvm] [llvm][Docs] Add release note about LLDB core file improvements (PR #123062)
Pavel Labath via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 15 06:21:56 PST 2025
https://github.com/labath created https://github.com/llvm/llvm-project/pull/123062
None
>From 7ad8655e35dcb28f3d9e5d75280e11c33299d1dd Mon Sep 17 00:00:00 2001
From: Pavel Labath <pavel at labath.sk>
Date: Wed, 15 Jan 2025 15:20:08 +0100
Subject: [PATCH] [llvm][Docs] Add release note about LLDB core file
improvements
---
llvm/docs/ReleaseNotes.md | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/llvm/docs/ReleaseNotes.md b/llvm/docs/ReleaseNotes.md
index ebfa453d92d37d..8f88b824f965aa 100644
--- a/llvm/docs/ReleaseNotes.md
+++ b/llvm/docs/ReleaseNotes.md
@@ -459,6 +459,25 @@ Changes to LLDB
* [New Core File API](https://lldb.llvm.org/python_api/lldb.SBSaveCoreOptions.html). This gives greater control on the data captured into the core file, relative to the existing `process save-core` styles.
+* When opening ELF core files, LLDB will print additional information about the
+ signal that killed the process and the disassembly view will display actual
+ (relocated) targets of the jump instructions instead of raw offsets encoded in
+ the instruction. This matches existing behavior for live processes.
+
+ Old:
+ ```
+ * thread #1: tid = 329384, 0x0000000000401262, name = 'a.out', stop reason = signal SIGSEGV
+
+ 0x7f1e3193e0a7 <+23>: ja 0xfe100 ; <+112>
+ ```
+
+ New:
+ ```
+ * thread #1: tid = 329384, 0x0000000000401262, name = 'a.out', stop reason = SIGSEGV: address not mapped to object (fault address: 0x0)
+
+ 0x7f1e3193e0a7 <+23>: ja 0x7f1e3193e100 ; <+112>
+ ```
+
* `lldb-server` now listens to a single port for gdbserver connections and provides
that port to the connection handler processes. This means that only 2 ports need
to be opened in the firewall (one for the `lldb-server` platform, one for gdbserver connections).
More information about the llvm-commits
mailing list