File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 5
5
6
6
## Swift 6.2
7
7
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
+
8
29
* [ SE-0458] [ ] :
9
30
Introduced an opt-in mode for strict checking of memory safety, which can be
10
31
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
10703
10724
[SE- 0432 ]: https: // github.com/apple/swift-evolution/blob/main/proposals/0432-noncopyable-switch.md
10704
10725
[SE- 0430 ]: https: // github.com/apple/swift-evolution/blob/main/proposals/0430-transferring-parameters-and-results.md
10705
10726
[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
10706
10728
[SE- 0423 ]: https: // github.com/apple/swift-evolution/blob/main/proposals/0423-dynamic-actor-isolation.md
10707
10729
[SE- 0424 ]: https: // github.com/apple/swift-evolution/blob/main/proposals/0424-custom-isolation-checking-for-serialexecutor.md
10708
10730
[SE- 0428 ]: https: // github.com/apple/swift-evolution/blob/main/proposals/0428-resolve-distributed-actor-protocols.md
You can’t perform that action at this time.
0 commit comments