tinygo/testdata
Ayke van Laethem 1869efe954 interp: use object layout information for LLVM types
This commit will use the memory layout information for heap allocations
added in the previous commit to determine LLVM types, instead of
guessing their types based on the content. This fixes a bug in which
recursive data structures (such as doubly linked lists) would result in
a compiler stack overflow due to infinite recursion.

Not all heap allocations have a memory layout yet, but this can be
incrementally fixed in the future. So far, this commit should fix
(almost?) all cases of this stack overflow issue.
2021-11-02 22:16:15 +01:00
..
cgo cgo: add support for stdio in picolibc and wasi-libc 2021-10-26 17:08:30 +02:00
alias.go
alias.txt
atomic.go
atomic.txt
binop.go compiler: properly implement div and rem operations 2021-10-28 15:55:02 +02:00
binop.txt compiler: properly implement div and rem operations 2021-10-28 15:55:02 +02:00
calls.go compiler: add support for recursive function types 2021-10-30 15:55:20 +02:00
calls.txt
channel.go
channel.txt
env.go wasm: add support for the crypto/rand package 2021-08-05 19:01:14 +02:00
env.txt wasm: add support for the crypto/rand package 2021-08-05 19:01:14 +02:00
filesystem.go main: clean up tests 2021-04-09 18:33:48 +02:00
filesystem.txt main: clean up tests 2021-04-09 18:33:48 +02:00
float.go
float.txt
gc.go
gc.txt
go1.17.go compiler: add support for new language features of Go 1.17 2021-08-30 09:18:58 +02:00
go1.17.txt compiler: add support for new language features of Go 1.17 2021-08-30 09:18:58 +02:00
goroutines.go compiler: add support for the go keyword on interface methods 2021-10-31 14:17:25 +01:00
goroutines.txt compiler: add support for the go keyword on interface methods 2021-10-31 14:17:25 +01:00
init.go interp: use object layout information for LLVM types 2021-11-02 22:16:15 +01:00
init.txt interp: don't ignore array indices for untyped objects 2021-07-14 07:55:05 +02:00
init_multi.go
init_multi.txt
interface.go
interface.txt
json.go transform: optimize reflect.Type Implements() method 2021-03-28 14:00:37 +02:00
json.txt transform: optimize reflect.Type Implements() method 2021-03-28 14:00:37 +02:00
ldflags.go main: implement -ldflags="-X ..." 2021-04-09 18:33:48 +02:00
ldflags.txt main: implement -ldflags="-X ..." 2021-04-09 18:33:48 +02:00
map.go interp: remove map support 2021-04-21 07:37:22 +02:00
map.txt interp: remove map support 2021-04-21 07:37:22 +02:00
math.go
math.txt
print.go
print.txt
rand.go wasm: add support for the crypto/rand package 2021-08-05 19:01:14 +02:00
rand.txt wasm: add support for the crypto/rand package 2021-08-05 19:01:14 +02:00
reflect.go reflect: add StructField.IsExported method 2021-08-30 09:18:58 +02:00
reflect.txt reflect: add StructField.IsExported method 2021-08-30 09:18:58 +02:00
slice.go
slice.txt
sort.go
sort.txt
stdlib.go os: implement process related functions 2021-06-25 16:14:47 +02:00
stdlib.txt
string.go
string.txt
structs.go
structs.txt
testing.go testing: add support for the -test.v flag 2021-08-13 08:53:40 +02:00
testing.txt testing: add support for the -test.v flag 2021-08-13 08:53:40 +02:00
zeroalloc.go
zeroalloc.txt