Skip to content

Commit 8c6cca5

Browse files
committed
[Changelog] Add SE-0419 to the changelog.
This is now implemented, at least for macOS and Linux.
1 parent 6463dcb commit 8c6cca5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,27 @@
55
66
## Swift 6.2
77

8+
* [SE-0419][]:
9+
Introduced the new `Runtime` module, which contains a public API that can
10+
generate backtraces, presently supported on macOS and Linux. Capturing a
11+
backtrace is as simple as
12+
13+
```swift
14+
import Runtime
15+
16+
func foo() {
17+
// Without symbols
18+
let backtrace = try! Backtrace.capture()
19+
20+
print(backtrace)
21+
22+
// With symbol lookup
23+
let symbolicated = backtrace.symbolicated()!
24+
25+
print(symbolicated)
26+
}
27+
```
28+
829
* [SE-0458][]:
930
Introduced an opt-in mode for strict checking of memory safety, which can be
1031
enabled with the compiler flag `-strict-memory-safety`. In this mode,

0 commit comments

Comments
 (0)