[llvm] f711aa9 - [llvm][Docs] Add release note about LLDB core file improvements (#123062)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 23:29:44 PST 2025


Author: Pavel Labath
Date: 2025-01-16T08:29:40+01:00
New Revision: f711aa9e5ddb885143e2abe614b5cfb3b0d396bf

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

LOG: [llvm][Docs] Add release note about LLDB core file improvements (#123062)

Added: 
    

Modified: 
    llvm/docs/ReleaseNotes.md

Removed: 
    


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