tinygo/compiler/testdata
Ayke van Laethem 21b89ef327 compiler: fix emission of large object layouts
Large object layouts don't fit in a pointer-sized integer and therefore
need to be stored in a global instead. However, the way the data was
stored in these globals was not correct for buffers that don't have
pointers near the end. This commit fixes this issue by using math/big
FillBytes() instead of Bytes().

This gets the unicode package to compile on AVR.
2022-01-03 21:22:49 +01:00
..
basic.go compiler: properly implement div and rem operations 2021-10-28 15:55:02 +02:00
basic.ll compiler, runtime: add layout parameter to runtime.alloc 2021-11-02 22:16:15 +01:00
channel.go compiler: avoid zero-sized alloca in channel operations 2021-09-09 11:24:52 +02:00
channel.ll internal/task: swap stack chain when switching goroutines 2021-12-17 10:01:11 +01:00
float.go compiler: test float to int conversions and fix upper-bound calculation 2021-01-19 14:02:32 +01:00
float.ll compiler, runtime: add layout parameter to runtime.alloc 2021-11-02 22:16:15 +01:00
func-coroutines.ll internal/task: use asyncify on webassembly 2021-11-14 10:49:28 +01:00
func.go compiler: add func tests 2021-04-12 12:07:42 +02:00
gc.go compiler: fix emission of large object layouts 2022-01-03 21:22:49 +01:00
gc.ll compiler: fix emission of large object layouts 2022-01-03 21:22:49 +01:00
go1.17.go compiler: add support for new language features of Go 1.17 2021-08-30 09:18:58 +02:00
go1.17.ll compiler: add object layout information to heap allocations 2021-11-02 22:16:15 +01:00
goroutine-cortex-m-qemu-tasks.ll internal/task: swap stack chain when switching goroutines 2021-12-17 10:01:11 +01:00
goroutine-wasm-asyncify.ll targets (wasi/wasm): raise default stack size to 16 KiB 2021-12-30 12:20:04 -05:00
goroutine-wasm-coroutines.ll internal/task: swap stack chain when switching goroutines 2021-12-17 10:01:11 +01:00
goroutine.go compiler: add support for the go keyword on interface methods 2021-10-31 14:17:25 +01:00
interface.go compiler: simplify interface lowering 2021-10-31 14:17:25 +01:00
interface.ll compiler, runtime: add layout parameter to runtime.alloc 2021-11-02 22:16:15 +01:00
intrinsics-cortex-m-qemu.ll targets: match LLVM triple to the one Clang uses 2021-11-05 09:42:00 +01:00
intrinsics-wasm.ll all: add LLVM 12 support 2021-11-30 21:53:16 +01:00
intrinsics.go compiler: move LLVM math builtin support into the compiler 2021-08-10 20:08:27 +02:00
pointer.go compiler: refactor and add tests 2021-01-15 14:43:43 +01:00
pointer.ll compiler, runtime: add layout parameter to runtime.alloc 2021-11-02 22:16:15 +01:00
pragma.go compiler: add function and global section pragmas 2021-06-24 15:00:30 +02:00
pragma.ll compiler, runtime: add layout parameter to runtime.alloc 2021-11-02 22:16:15 +01:00
slice.go compiler: add *ssa.MakeSlice bounds tests 2021-08-17 08:16:27 +02:00
slice.ll compiler: add object layout information to heap allocations 2021-11-02 22:16:15 +01:00
string.go compiler: fix indices into strings and arrays 2021-11-13 11:04:24 +01:00
string.ll compiler: update testdata/string.ll 2021-11-18 11:07:45 +01:00