Skip to content

Commit 234111f

Browse files
committed
add a release note
1 parent 1d3e608 commit 234111f

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

llvm/docs/ReleaseNotes.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ Changes to LLDB
473473

474474
New:
475475
```
476-
* thread #1: tid = 329384, 0x0000000000401262, name = 'a.out', stop reason = SIGSEGV: address not mapped to object (fault address: 0x0)
476+
* thread #1: tid = 329384, 0x0000000000401262, name = 'a.out', stop reason = SIGSEGV: address not mapped to object (fault address=0x0)
477477
478478
0x7f1e3193e0a7 <+23>: ja 0x7f1e3193e100 ; <+112>
479479
```
@@ -483,6 +483,23 @@ Changes to LLDB
483483
to be opened in the firewall (one for the `lldb-server` platform, one for gdbserver connections).
484484
In addition, due to this work, `lldb-server` now works on Windows in the server mode.
485485

486+
* The `frame diagnose` now works on ELF-based systems. After a crash, LLDB will
487+
try to determine the likely cause of the signal, matching Darwin behavior.
488+
(x86 only)
489+
490+
```
491+
* thread #1, name = 'a.out', stop reason = signal SIGSEGV: address not mapped to object (fault address=0x4)
492+
frame #0: 0x00005555555551aa a.out`GetSum(f=0x0000555555558018) at main.c:21:37
493+
18 }
494+
19
495+
20 int GetSum(struct Foo *f) {
496+
-> 21 return SumTwoIntegers(f->a, f->b->d ? 0 : 1);
497+
22 }
498+
23
499+
24 int main() {
500+
Likely cause: f->b->d accessed 0x4
501+
```
502+
486503
Changes to BOLT
487504
---------------------------------
488505

0 commit comments

Comments
 (0)