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 all: add type parameter to CreateCall 2022-10-19 22:23:19 +02:00
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 all: fix staticcheck warnings 2021-09-27 15:47:12 +02:00
func.go ci: add support for LLVM 15 2022-10-19 22:23:19 +02:00
gc.go compiler: track the result of string concatenation 2020-04-02 14:04:25 +02:00
goroutine.go all: add type parameter to CreateCall 2022-10-19 22:23:19 +02:00
inlineasm.go all: add type parameter to CreateCall 2022-10-19 22:23:19 +02:00
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 all: add type parameter to CreateCall 2022-10-19 22:23:19 +02:00
volatile.go all: add type parameter to CreateLoad 2022-10-19 22:23:19 +02:00