Andrew Kelley
ecfb18286a
migrate make_ptr_const to new anonymous decl mechanism
...
Instead of creating Module.Decl objects, directly create InternPool
pointer values using the anon_decl Addr encoding.
The LLVM backend needed code to notice the alignment of the pointer and
lower accordingly. The other backends likely need a similar change.
2023-10-21 21:38:41 -04:00
Jakub Konka
b8ff989fa0
elf: force pie in tests affected by QEMU bug
2023-10-19 19:46:23 +02:00
Jakub Konka
1bbe521074
elf: fix flaky link tests
2023-10-19 03:34:47 +02:00
Jacob Young
d8f7c79298
x86_64: improve inline assembly support
...
* C++-style comments
* indirect call operands
* fix misleading immediate debug formatting
2023-10-18 13:57:28 -04:00
Robin Voetter
c3120d5089
Merge pull request #17577 from alichraghi/spirv-1
...
spirv: switch on bool
2023-10-18 16:28:13 +02:00
Robin Voetter
24b065a6a8
Merge pull request #17561 from alichraghi/spirv-0
...
spirv: memcpy
2023-10-18 15:38:30 +02:00
Andrew Kelley
aeadcb3918
disable flaky linker test
...
tracked by #17576
2023-10-17 21:46:13 -07:00
Andrew Kelley
149f2f8adb
Merge pull request #17524 from Vexu/aro-translate-c
...
Add ability to test Aro based `translate-c`
2023-10-18 00:32:59 -04:00
Ali Chraghi
e5d5c1d423
spirv: switch on bool
2023-10-18 02:31:16 +03:30
Andrew Kelley
25400fadf8
disable two flaky link tests
...
Tracking issue #17576
2023-10-17 16:00:14 -07:00
Bogdan Romanyuk
ad168db727
Sema: disallow @intFromPtr for comptime-only types
2023-10-17 20:05:55 +00:00
Jakub Konka
eb5276c94e
Merge pull request #17556 from ziglang/elf-link-zig-proper
...
elf: port 99% of zld ELF linker to Zig proper
2023-10-17 17:36:40 +02:00
Ali Chraghi
6d8a979265
spirv: memcpy
2023-10-17 13:02:30 +03:30
Jakub Konka
666e9df170
elf: ensure we build with -fPIE when testing init array order
2023-10-17 11:30:56 +02:00
Veikka Tuominen
96f9e20152
add c_frontend to translate-c cache hash
2023-10-17 11:55:17 +03:00
Veikka Tuominen
e765495b11
tests: translate-c and run-translated-c to the test harness
2023-10-17 11:55:17 +03:00
Ali Chraghi
e44152e252
spirv: fieldParentPtr
2023-10-16 20:27:28 -04:00
Jakub Konka
77443ac2b5
elf: skip tests on foreign architectures
2023-10-16 21:45:28 +02:00
Jakub Konka
5423778f6f
elf: add self-hosted tests
2023-10-16 19:33:06 +02:00
Jakub Konka
716a45a209
elf: use findFreeSpace mechanics to allocate object-extracted segments
2023-10-16 19:33:05 +02:00
Jakub Konka
b3f40c35dc
elf: fix testTlsOffsetAlignment test
2023-10-16 19:33:05 +02:00
Jakub Konka
67a02bee2c
elf: port more linker tests
2023-10-16 19:33:05 +02:00
Jakub Konka
81b68c7465
elf: port more linker tests
2023-10-16 19:33:05 +02:00
Jakub Konka
898c87bd2a
elf: port more linker tests
2023-10-16 19:33:05 +02:00
Jakub Konka
1fe0fd69e0
elf: port more linker tests
2023-10-16 19:33:05 +02:00
Jakub Konka
9487007ffe
elf: port more linker tests
2023-10-16 19:33:05 +02:00
Jakub Konka
44f3085851
elf: refactor tests and disable currently impossible combinations
2023-10-16 19:33:05 +02:00
Jakub Konka
df656c4eef
elf: test exporting symbols in exes
2023-10-16 19:33:05 +02:00
Jakub Konka
f2ad71991a
elf: test --export-dynamic flag
2023-10-16 19:33:05 +02:00
Jakub Konka
20980b33e3
elf: test entry point
2023-10-16 19:33:05 +02:00
Jakub Konka
9861a9ea75
elf: test various copyrel edge cases
2023-10-16 19:33:05 +02:00
Jakub Konka
b6006df565
elf: refactor canonical PLT test
2023-10-16 19:33:05 +02:00
Jakub Konka
c940735c4d
elf: port more linker tests
2023-10-16 19:33:05 +02:00
Jakub Konka
149dd82d54
elf: add --as-needed test
2023-10-16 19:33:05 +02:00
Jakub Konka
7ff9461b88
elf: test large alignment of funcs in exe
2023-10-16 19:33:05 +02:00
Jakub Konka
11bdfe1179
elf: test large alignment of funcs in DSO
2023-10-16 19:33:04 +02:00
Jakub Konka
031e12b963
elf: override default dynamic linker path with system\`s dl when appropriate
2023-10-16 19:33:04 +02:00
Jakub Konka
62c6c4a46d
elf: more DSO tests
2023-10-16 19:33:04 +02:00
Jakub Konka
e53fa93170
elf: test basic DSO generation and linking
2023-10-16 19:33:04 +02:00
Jakub Konka
ac03a35e82
elf: test common symbols in archives
2023-10-16 19:33:04 +02:00
Jakub Konka
cf2c8c0789
elf: test common symbols handling
2023-10-16 19:33:04 +02:00
Jakub Konka
9a80ac0429
elf: add garbage collection of sections
2023-10-16 19:33:04 +02:00
Jakub Konka
2ee221328f
elf: test garbage collection of sections
2023-10-16 19:33:04 +02:00
Jakub Konka
f1b9c365f2
elf: add incomplete handling of build-obj -fllvm -fno-lld
2023-10-16 19:33:04 +02:00
Jakub Konka
976d4f51cc
elf: add hello-world c++ link test
2023-10-16 19:33:04 +02:00
Jakub Konka
621ddc003a
elf: temporarily disable non-llvm linker tests
2023-10-16 19:33:04 +02:00
Veikka Tuominen
14efbf5ed1
Sema: fix missing check for tuple default initializers
...
Closes #17525
2023-10-16 14:00:18 +03:00
Bogdan Romanyuk
ebde525cce
Sema: fix @extern error on function pointer
2023-10-16 01:30:39 +00:00
Robin Voetter
8c153221b9
wasm: disable division test
...
Seems that bit integers are not properly supported
2023-10-15 20:08:19 +02:00
Robin Voetter
faad97edff
spirv: update failing / passing tests
...
Some tests are now failing due to debug info changes, some tests
now pass due to improved compiler functionality.
2023-10-15 20:08:18 +02:00