@@ -21,14 +21,8 @@ the testing library are stored in dedicated platform-specific sections:
21
21
22
22
| Platform | Binary Format | Section Name |
23
23
| -| :-:| -|
24
- | macOS | Mach-O | ` __DATA_CONST,__swift5_tests ` |
25
- | iOS | Mach-O | ` __DATA_CONST,__swift5_tests ` |
26
- | watchOS | Mach-O | ` __DATA_CONST,__swift5_tests ` |
27
- | tvOS | Mach-O | ` __DATA_CONST,__swift5_tests ` |
28
- | visionOS | Mach-O | ` __DATA_CONST,__swift5_tests ` |
29
- | Linux | ELF | ` PT_NOTE ` [ ^ 1 ] |
30
- | FreeBSD | ELF | ` PT_NOTE ` [ ^ 1 ] |
31
- | Android | ELF | ` PT_NOTE ` [ ^ 1 ] |
24
+ | macOS, iOS, watchOS, tvOS, visionOS | Mach-O | ` __DATA_CONST,__swift5_tests ` |
25
+ | Linux, FreeBSD, Android | ELF | ` PT_NOTE ` [ ^ 1 ] |
32
26
| WASI | Statically Linked | ` swift5_tests ` |
33
27
| Windows | PE/COFF | ` .sw5test ` |
34
28
@@ -66,6 +60,11 @@ struct SWTTestContent {
66
60
};
67
61
```
68
62
63
+ This structure may grow in the future as needed. Check the ` n_descsz ` field of
64
+ the record header to determine if there are additional fields present. Do not
65
+ assume that the size of this structure will remain fixed over time or that all
66
+ discovered test content records are the same size.
67
+
69
68
#### The accessor field
70
69
71
70
The function ` accessor ` is a C function whose signature in Swift can be restated
0 commit comments