zig/test
Alex Rønne Petersen d1d95294fd std.Target.Cpu.Arch: Remove the aarch64_32 tag.
This is a misfeature that we inherited from LLVM:

* https://reviews.llvm.org/D61259
* https://reviews.llvm.org/D61939

(`aarch64_32` and `arm64_32` are equivalent.)

I truly have no idea why this triple passed review in LLVM. It is, to date, the
*only* tag in the architecture component that is not, in fact, an architecture.
In reality, it is just an ILP32 ABI for AArch64 (*not* AArch32).

The triples that use `aarch64_32` look like `aarch64_32-apple-watchos`. Yes,
that triple is exactly what you think; it has no ABI component. They really,
seriously did this.

Since only Apple could come up with silliness like this, it should come as no
surprise that no one else uses `aarch64_32`. Later on, a GNU ILP32 ABI for
AArch64 was developed, and support was added to LLVM:

* https://reviews.llvm.org/D94143
* https://reviews.llvm.org/D104931

Here, sanity seems to have prevailed, and a triple using this ABI looks like
`aarch64-linux-gnu_ilp32` as you would expect.

As can be seen from the diffs in this commit, there was plenty of confusion
throughout the Zig codebase about what exactly `aarch64_32` was. So let's just
remove it. In its place, we'll use `aarch64-watchos-ilp32`,
`aarch64-linux-gnuilp32`, and so on. We'll then translate these appropriately
when talking to LLVM. Hence, this commit adds the `ilp32` ABI tag (we already
have `gnuilp32`).
2024-07-28 19:44:52 -07:00
..
behavior std.Target.Cpu.Arch: Remove the aarch64_32 tag. 2024-07-28 19:44:52 -07:00
c_abi x86_64: fix C abi of incomplete sse register 2024-05-08 19:37:29 -07:00
c_import c_import: extract behavior tests that use @cImport 2024-02-20 18:44:43 +01:00
cases translate-c: Use mangled name for local extern in condition/loop 2024-07-28 02:58:49 +03:00
incremental incr-test: running an update 2024-07-20 01:06:29 -07:00
link macho: test section$end$ boundary symbol handling 2024-07-28 06:59:21 +02:00
src compiler: rework type resolution, fully resolve all types 2024-07-04 21:01:42 +01:00
standalone Default std.posix.system.ucontext_t is void 2024-07-23 11:47:29 -07:00
assemble_and_link.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
behavior.zig astgen: fix result info for catch switch_block_err_union 2024-05-11 12:06:13 +03:00
c_import.zig c_import: extract behavior tests that use @cImport 2024-02-20 18:44:43 +01:00
cases.zig remove test/cbe.zig 2024-03-28 15:24:01 +02:00
compare_output.zig std: make options a struct instance instead of a namespace 2024-02-01 15:22:36 +02:00
compile_errors.zig Tokenizer bug fixes and improvements 2024-07-15 11:31:19 +03:00
gen_h.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
llvm_targets.zig std.Target.Cpu.Arch: Remove the aarch64_32 tag. 2024-07-28 19:44:52 -07:00
nvptx.zig zig build system: change target, compilation, and module APIs 2024-01-01 17:51:18 -07:00
run_translated_c.zig tests: translate-c and run-translated-c to the test harness 2023-10-17 11:55:17 +03:00
stack_traces.zig test/stack_traces.zig: add err union switch case 2024-01-18 15:10:32 +11:00
tests.zig riscv: implement @clz 2024-07-26 04:05:39 -07:00
translate_c.zig translate-c: promote macros that reference var decls to inline functions 2024-06-05 23:06:51 +03:00