tinygo/compiler
Ayke van Laethem 9fd0567fb5 compiler: fix stack overflow when creating recursive pointer types
There were two types that could result in a compiler stack overflow.
This is difficult to fix in LLVM 14, so I won't even bother. However,
this is trivial to fix with opaque pointers in LLVM 15. Therefore, this
fix is for LLVM 15 only.

Fixes: https://github.com/tinygo-org/tinygo/issues/3341
2022-12-22 17:45:05 +01:00
..
ircheck all: remove pointer ElementType calls 2022-10-19 22:23:19 +02:00
llvmutil avr: support ThinLTO 2022-11-18 18:40:38 +01:00
testdata compiler: fix stack overflow when creating recursive pointer types 2022-12-22 17:45:05 +01:00
alias.go
asserts.go all: remove pointer ElementType calls 2022-10-19 22:23:19 +02:00
atomic.go all: add type parameter to CreateLoad 2022-10-19 22:23:19 +02:00
calls.go all: remove pointer ElementType calls 2022-10-19 22:23:19 +02:00
channel.go compiler: fix stack overflow when creating recursive pointer types 2022-12-22 17:45:05 +01:00
compiler.go compiler: fix stack overflow when creating recursive pointer types 2022-12-22 17:45:05 +01:00
compiler_test.go riscv: add "target-abi" metadata flag 2022-10-19 22:23:19 +02:00
defer.go all: add type parameter to *GEP calls 2022-10-19 22:23:19 +02:00
errors.go
func.go ci: add support for LLVM 15 2022-10-19 22:23:19 +02:00
gc.go
goroutine.go
inlineasm.go
interface.go all: remove pointer ElementType calls 2022-10-19 22:23:19 +02:00
interrupt.go all: replace llvm.Const* calls with builder.Create* calls 2022-10-19 22:23:19 +02:00
intrinsics.go ci: add support for LLVM 15 2022-10-19 22:23:19 +02:00
llvm.go all: replace llvm.Const* calls with builder.Create* calls 2022-10-19 22:23:19 +02:00
map.go all: add type parameter to CreateLoad 2022-10-19 22:23:19 +02:00
sizes.go compiler: fix unsafe.Sizeof for chan and map values 2022-09-01 03:53:27 +02:00
symbol.go avr: support ThinLTO 2022-11-18 18:40:38 +01:00
syscall.go
volatile.go all: add type parameter to CreateLoad 2022-10-19 22:23:19 +02:00