Skip to content

Commit

Permalink
[llvm][Docs] Add release note about LLDB core file improvements (llvm…
Browse files Browse the repository at this point in the history
  • Loading branch information
labath authored Jan 16, 2025
1 parent 990774a commit f711aa9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions llvm/docs/ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit f711aa9

Please sign in to comment.