zig/src
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
..
Air InternPool: add and use a mutate mutex for each list 2024-07-13 04:47:38 -04:00
arch riscv: correct airAsm to generate correct jalr call 2024-07-27 08:14:09 -07:00
codegen std.Target.Cpu.Arch: Remove the aarch64_32 tag. 2024-07-28 19:44:52 -07:00
Compilation default "trace pc guard" coverage off 2024-07-23 17:30:53 -07:00
link link.Coff: Basic support for /Brepro in the self-hosted linker. 2024-07-28 22:49:41 +02:00
Liveness Revert "implement @expect builtin (#19658)" 2024-05-22 09:57:43 -07:00
Package riscv: make multi-threaded enabled compilation the default 2024-07-26 14:53:55 -07:00
Sema Sema: add error note for failed coercions to optional types and error unions 2024-07-16 16:42:13 +00:00
Zcu dev: introduce dev environments that enable compiler feature sets 2024-07-19 22:35:33 -07:00
Air.zig Fix typos in code comments in src/ 2024-07-20 20:23:18 +03:00
Builtin.zig initial support for integrated fuzzing 2024-07-22 13:07:02 -07:00
clang.zig translate-c: update UnaryExprOrTypeTrait enum for LLVM 18 2024-05-08 19:37:29 -07:00
clang_options.zig zig cc: honor all -m and -mno- CPU feature flags 2021-11-26 19:59:33 -07:00
clang_options_data.zig default "trace pc guard" coverage off 2024-07-23 17:30:53 -07:00
codegen.zig riscv: boilerplate for creating lazy functions 2024-07-26 04:05:44 -07:00
Compilation.zig link: Accept -Brepro linker option and pass it to LLD. 2024-07-28 14:37:03 +02:00
crash_report.zig std.posix: Consider invalid signal numbers to sigaction() to be programmer error. 2024-07-21 22:38:09 +02:00
DarwinPosixSpawn.zig fix compilation failures found by CI 2024-03-19 16:18:18 -07:00
dev.zig dev: add riscv64-linux support 2024-07-22 05:50:48 -07:00
glibc.zig update the codebase for the new std.Progress API 2024-05-27 20:56:48 -07:00
InternPool.zig add new builtin: @disableInstrumentation 2024-07-22 13:07:02 -07:00
introspect.zig move zig libc command to be lazily built 2024-02-27 22:55:00 -07:00
libcxx.zig libcxx: fix building when -fsingle-threaded 2024-06-08 15:34:19 -04:00
libtsan.zig Compilation: rename tsan_static_lib to tsan_lib 2024-07-04 22:09:57 +02:00
libunwind.zig update the codebase for the new std.Progress API 2024-05-27 20:56:48 -07:00
link.zig link: Accept -Brepro linker option and pass it to LLD. 2024-07-28 14:37:03 +02:00
Liveness.zig Revert "implement @expect builtin (#19658)" 2024-05-22 09:57:43 -07:00
main.zig link: Accept -Brepro linker option and pass it to LLD. 2024-07-28 14:37:03 +02:00
mingw.zig std.Target.Cpu.Arch: Remove the aarch64_32 tag. 2024-07-28 19:44:52 -07:00
musl.zig update musl source files to v1.2.5 2024-06-04 16:54:14 -07:00
mutable_value.zig Zcu: pass PerThread to intern pool string functions 2024-07-07 22:59:52 -04:00
Package.zig fetch: filter unpack errors 2024-04-09 15:00:21 +02:00
print_air.zig Value: eliminate static recursion loop from value printing 2024-07-16 11:38:21 +01:00
print_env.zig move zig libc command to be lazily built 2024-02-27 22:55:00 -07:00
print_targets.zig move zig libc command to be lazily built 2024-02-27 22:55:00 -07:00
print_value.zig Value: eliminate static recursion loop from value printing 2024-07-16 11:38:21 +01:00
print_zir.zig add new builtin: @disableInstrumentation 2024-07-22 13:07:02 -07:00
RangeSet.zig Zcu: introduce PerThread and pass to all the functions 2024-07-07 22:59:52 -04:00
register_manager.zig Zcu: introduce PerThread and pass to all the functions 2024-07-07 22:59:52 -04:00
Sema.zig std.Target.Cpu.Arch: Remove the aarch64_32 tag. 2024-07-28 19:44:52 -07:00
target.zig std.Target.Cpu.Arch: Remove the aarch64_32 tag. 2024-07-28 19:44:52 -07:00
tracy.zig tracy: protect source info via global constant 2023-10-23 18:36:00 -07:00
translate_c.zig translate-c: Use mangled name for local extern in condition/loop 2024-07-28 02:58:49 +03:00
Type.zig std.Target.Cpu.Arch: Remove the aarch64_32 tag. 2024-07-28 19:44:52 -07:00
Value.zig Value: eliminate static recursion loop from value printing 2024-07-16 11:38:21 +01:00
wasi_libc.zig update the codebase for the new std.Progress API 2024-05-27 20:56:48 -07:00
Zcu.zig std.Target.Cpu.Arch: Remove the aarch64_32 tag. 2024-07-28 19:44:52 -07:00
zig_clang.cpp translate-c: update UnaryExprOrTypeTrait enum for LLVM 18 2024-05-08 19:37:29 -07:00
zig_clang.h translate-c: update UnaryExprOrTypeTrait enum for LLVM 18 2024-05-08 19:37:29 -07:00
zig_clang_cc1_main.cpp update ar and clang C++ files to LLVM 18 2024-05-08 19:37:28 -07:00
zig_clang_cc1as_main.cpp update ar and clang C++ files to LLVM 18 2024-05-08 19:37:28 -07:00
zig_clang_driver.cpp clang patch: update main function 2024-05-08 19:37:28 -07:00
zig_llvm-ar.cpp llvm-ar patch: update main function 2024-05-08 19:37:28 -07:00
zig_llvm.cpp llvm: force TargetOptions.UseInitArray to true 2024-07-24 15:24:17 -07:00
zig_llvm.h LLVM: more fine-grained sancov emit options 2024-07-23 16:04:58 -07:00