tinygo/transform
Ayke van Laethem e7a05b6e74 transform: do not lower zero-sized alloc to alloca
The LLVM CoroFrame pass appears to be tripping over this zero-sized
alloca. Therefore, do what the runtime would do: return a pointer to
runtime.zeroSizedAlloc. Or just don't deal with this case. But don't
emit a zero sized alloca to avoid this LLVM bug.

More information: https://bugs.llvm.org/show_bug.cgi?id=49916
2021-04-12 08:11:28 +02:00
..
testdata transform: do not lower zero-sized alloc to alloca 2021-04-12 08:11:28 +02:00
allocs.go transform: do not lower zero-sized alloc to alloca 2021-04-12 08:11:28 +02:00
allocs_test.go
coroutines.go transform: show better error message in coroutines lowering 2021-03-05 14:42:43 +01:00
errors.go refactor coroutine lowering and tasks 2020-03-17 12:16:10 +01:00
func-lowering.go transform: fix func lowering assertion failure 2021-04-12 08:11:28 +02:00
func-lowering_test.go
gc.go support WASI target (#1373) 2020-09-29 21:58:03 +02:00
gc_test.go
globals.go avr: properly support the .rodata section 2020-10-31 21:06:26 +01:00
globals_test.go avr: properly support the .rodata section 2020-10-31 21:06:26 +01:00
goroutine_test.go refactor coroutine lowering and tasks 2020-03-17 12:16:10 +01:00
interface-lowering.go transform: don't rely on struct name of runtime.typecodeID 2021-04-08 11:40:59 +02:00
interface-lowering_test.go builder: add optsize attribute while building the package 2021-04-08 11:40:59 +02:00
interrupt.go builder: add optsize attribute while building the package 2021-04-08 11:40:59 +02:00
interrupt_test.go builder: add optsize attribute while building the package 2021-04-08 11:40:59 +02:00
llvm.go runtime/fe310: add support for PLIC interrupts 2020-01-27 19:58:39 +01:00
maps.go
maps_test.go
optimizer.go transform: use IPSCCP pass instead of the constant propagation pass 2021-04-08 12:31:26 +02:00
panic.go
panic_test.go
reflect.go transform: make reflection sidetables constant globals 2019-12-21 22:59:23 +01:00
rtcalls.go transform: optimize reflect.Type Implements() method 2021-03-28 14:00:37 +02:00
rtcalls_test.go transform: optimize reflect.Type Implements() method 2021-03-28 14:00:37 +02:00
stacksize.go arm: automatically determine stack sizes 2020-08-27 19:23:22 +02:00
stacksize_test.go arm: automatically determine stack sizes 2020-08-27 19:23:22 +02:00
transform.go
transform_test.go main: add initial support for (in-development) LLVM 11 2020-10-13 20:23:50 +02:00
util.go
wasm-abi.go builder: add optsize attribute while building the package 2021-04-08 11:40:59 +02:00
wasm-abi_test.go compiler: move wasm ABI workaround to transform package 2020-01-28 19:29:09 +01:00