fix amd64 sysv abi to pass asan everywhere

I verified the PR by running the entire test suite of Odin itself with
`-sanitize:address` and also the ols test suite (which caused unique problems
before).

A test has also been added with some problematic code, Windows seems to
have problems with asan in CI or in general so it is not ran there.

The LB_ABI_COMPUTE_RETURN_TYPES block has been removed entirely because
it was unused, I got pretty confused why it didn't effect anything at
first.

Fixes #3211
This commit is contained in:
Laytan Laats
2024-04-04 23:45:23 +02:00
parent 510574aa7f
commit 133b45d843
3 changed files with 81 additions and 33 deletions
+4 -1
View File
@@ -1,6 +1,6 @@
ODIN=../../odin
all: rtti_test map_test pow_test 128_test
all: rtti_test map_test pow_test 128_test asan_test
rtti_test:
$(ODIN) run test_rtti.odin -file -vet -strict-style -o:minimal
@@ -13,3 +13,6 @@ pow_test:
128_test:
$(ODIN) run test_128.odin -file -vet -strict-style -o:minimal
asan_test:
$(ODIN) run test_asan.odin -file -sanitize:address -debug