Skip to content

Commit f711aa9

Browse files
authored
[llvm][Docs] Add release note about LLDB core file improvements (#123062)
1 parent 990774a commit f711aa9

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

llvm/docs/ReleaseNotes.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,25 @@ Changes to LLDB
459459

460460
* [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.
461461

462+
* When opening ELF core files, LLDB will print additional information about the
463+
signal that killed the process and the disassembly view will display actual
464+
(relocated) targets of the jump instructions instead of raw offsets encoded in
465+
the instruction. This matches existing behavior for live processes.
466+
467+
Old:
468+
```
469+
* thread #1: tid = 329384, 0x0000000000401262, name = 'a.out', stop reason = signal SIGSEGV
470+
471+
0x7f1e3193e0a7 <+23>: ja 0xfe100 ; <+112>
472+
```
473+
474+
New:
475+
```
476+
* thread #1: tid = 329384, 0x0000000000401262, name = 'a.out', stop reason = SIGSEGV: address not mapped to object (fault address: 0x0)
477+
478+
0x7f1e3193e0a7 <+23>: ja 0x7f1e3193e100 ; <+112>
479+
```
480+
462481
* `lldb-server` now listens to a single port for gdbserver connections and provides
463482
that port to the connection handler processes. This means that only 2 ports need
464483
to be opened in the firewall (one for the `lldb-server` platform, one for gdbserver connections).

0 commit comments

Comments
 (0)