| ... | ... | @@ -844,6 +844,12 @@ pub const VaListAarch64 = extern struct { |
| 844 | 844 | __vr_offs: c_int, |
| 845 | 845 | }; |
| 846 | 846 | |
| 847 | /// This data structure is used by the Zig language code generation and |
| 848 | /// therefore must be kept in sync with the compiler implementation. |
| 849 | pub const VaListArm = extern struct { |
| 850 | __ap: *anyopaque, |
| 851 | }; |
| 852 | |
| 847 | 853 | /// This data structure is used by the Zig language code generation and |
| 848 | 854 | /// therefore must be kept in sync with the compiler implementation. |
| 849 | 855 | pub const VaListHexagon = extern struct { |
| ... | ... | @@ -899,10 +905,7 @@ pub const VaList = switch (builtin.cpu.arch) { |
| 899 | 905 | .stage2_llvm => @compileError("disabled due to miscompilations"), |
| 900 | 906 | }, |
| 901 | 907 | }, |
| 902 | | .arm, .armeb, .thumb, .thumbeb => switch (builtin.os.tag) { |
| 903 | | .ios, .macos, .tvos, .watchos, .visionos => *u8, |
| 904 | | else => *anyopaque, |
| 905 | | }, |
| 908 | .arm, .armeb, .thumb, .thumbeb => VaListArm, |
| 906 | 909 | .amdgcn => *u8, |
| 907 | 910 | .avr => *anyopaque, |
| 908 | 911 | .bpfel, .bpfeb => *anyopaque, |