tinygo/interp/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
..
alloc.ll interp: use object layout information for LLVM types 2021-11-02 22:16:15 +01:00
alloc.out.ll interp: use object layout information for LLVM types 2021-11-02 22:16:15 +01:00
basic.ll interp: ignore inline assembly in markExternal 2021-05-20 07:42:19 +02:00
basic.out.ll interp: simplify pointer arithmetic in getLLVMValue 2021-11-02 22:16:15 +01:00
consteval.ll interp: support const getelementptr with non-zero first offset 2021-11-02 22:16:15 +01:00
consteval.out.ll interp: support const getelementptr with non-zero first offset 2021-11-02 22:16:15 +01:00
interface.ll transform: don't rely on struct name of runtime.typecodeID 2021-04-08 11:40:59 +02:00
interface.out.ll interp: add support for constant type asserts 2020-03-20 22:22:24 +01:00
phi.ll interp: fix phi instruction 2021-04-21 07:37:22 +02:00
phi.out.ll interp: fix phi instruction 2021-04-21 07:37:22 +02:00
revert.ll interp: fix bug in compiler-time/run-time package initializers 2021-07-14 22:33:32 +02:00
revert.out.ll interp: fix bug in compiler-time/run-time package initializers 2021-07-14 22:33:32 +02:00
slice-copy.ll compiler, runtime: add layout parameter to runtime.alloc 2021-11-02 22:16:15 +01:00
slice-copy.out.ll all: drop support for LLVM 10 2021-10-31 10:44:17 +01:00