File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,20 @@ CHANGELOG
24
24
Swift 5.0
25
25
---------
26
26
27
+ * [ SR-7139] [ ] :
28
+
29
+ Exclusive memory access is now enforced at runtime by default in
30
+ optimized (` -O ` /` -Osize ` ) builds. Programs that violate exclusivity will
31
+ trap at runtime with an "overlapping access" diagnostic
32
+ message. This can be disabled via a command line flag:
33
+ ` -enforce-exclusivity=unchecked ` , but doing so may result in undefined
34
+ behavior.
35
+
36
+ Runtime violations of exclusivity typically result from
37
+ simultaneous access of class properties, global variables (including
38
+ variables in top-level code), or variables captured by escaping
39
+ closures.
40
+
27
41
* [ SE-0216] [ ] :
28
42
29
43
The ` @dynamicCallable ` attribute enables nominal types to be "callable" via a
@@ -7290,4 +7304,5 @@ Swift 1.0
7290
7304
[SR- 2394 ]: < https: // bugs.swift.org/browse/SR-2394>
7291
7305
[SR- 2608 ]: < https: // bugs.swift.org/browse/SR-2608>
7292
7306
[SR- 4248 ]: < https: // bugs.swift.org/browse/SR-4248>
7307
+ [SR- 7139 ]: < https: // bugs.swift.org/browse/SR-7139>
7293
7308
[SR- 7251 ]: < https: // bugs.swift.org/browse/SR-7251>
You can’t perform that action at this time.
0 commit comments