diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2025-05-09 22:27:35 +0200 |
|---|---|---|
| committer | Laytan <laytanlaats@hotmail.com> | 2025-05-09 23:03:17 +0200 |
| commit | f9b9e9e7dcbb605bc64bc5af1331855375f58494 (patch) | |
| tree | 551e8f0d33da0696c67e50e03c271df787e2ab8a /src/llvm_backend_proc.cpp | |
| parent | 4d08b7637279c49cb56106a1247e7dfc09265fb2 (diff) | |
some ABI fixups and improvements
Started with trying to enable asan in the CI for MacOS, noticed it wasn't enabled on the `tests/internal`
folder, it came up with a couple of issues with the abi/OdinLLVMBuildTransmute that this also solves.
- Looking at clang output for arm64, we should be promoting `{ i64, i32 }` to `{ i64, i64 }`
- after doing the previous point, I noticed this is not handled well in OdinLLVMBuildTransmute
which was emitting loads and stores into the space of a value that was alignment, asan does not want this,
looking at clang output again, a memcpy is the appropriate way of handling this.
- Having done this we don't need the hacky "return is packed" set anymore in the amd64 sysv ABI anymore either
Diffstat (limited to 'src/llvm_backend_proc.cpp')
0 files changed, 0 insertions, 0 deletions