Skip to content

Commit 119fbac

Browse files
authored
Merge pull request #80268 from al45tair/changelog-add-se0419
[Changelog] Add SE-0419 to the changelog.
2 parents b45b039 + c93af64 commit 119fbac

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

CHANGELOG.md

Lines changed: 22 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,
@@ -10703,6 +10724,7 @@ using the `.dynamicType` member to retrieve the type of an expression should mig
1070310724
[SE-0432]: https://github.com/apple/swift-evolution/blob/main/proposals/0432-noncopyable-switch.md
1070410725
[SE-0430]: https://github.com/apple/swift-evolution/blob/main/proposals/0430-transferring-parameters-and-results.md
1070510726
[SE-0418]: https://github.com/apple/swift-evolution/blob/main/proposals/0418-inferring-sendable-for-methods.md
10727+
[SE-0419]: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0419-backtrace-api.md
1070610728
[SE-0423]: https://github.com/apple/swift-evolution/blob/main/proposals/0423-dynamic-actor-isolation.md
1070710729
[SE-0424]: https://github.com/apple/swift-evolution/blob/main/proposals/0424-custom-isolation-checking-for-serialexecutor.md
1070810730
[SE-0428]: https://github.com/apple/swift-evolution/blob/main/proposals/0428-resolve-distributed-actor-protocols.md

0 commit comments

Comments
 (0)