tinygo/compiler
Ayke van Laethem d0445d6f83 cgo: fix calling CGo callback inside generic function
The package of the generic function might not be set, so we have to call
Origin() for it.

Found while porting mcufont to TinyGo.
2024-01-12 14:54:42 +01:00
..
ircheck all: remove pointer ElementType calls 2022-10-19 22:23:19 +02:00
llvmutil all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
testdata targets: increase default stack size to 64k for wasi/wasm targets 2023-10-04 22:43:14 +02:00
alias.go all: add type parameter to CreateCall 2022-10-19 22:23:19 +02:00
asserts.go compiler: add support for new unsafe slice/string functions 2023-01-17 08:38:54 +01:00
atomic.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
calls.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
channel.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
compiler.go cgo: fix calling CGo callback inside generic function 2024-01-12 14:54:42 +01:00
compiler_test.go builder: refactor clang include headers 2023-10-14 11:35:26 +02:00
defer.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
errors.go all: fix staticcheck warnings 2021-09-27 15:47:12 +02:00
func.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
gc.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
goroutine.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
inlineasm.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
interface.go compiler: fix crash on type assert on interfaces with no methods 2023-11-08 19:41:25 +01:00
interrupt.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
intrinsics.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
llvm.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
map.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
sizes.go compiler: fix unsafe.Sizeof for chan and map values 2022-09-01 03:53:27 +02:00
symbol.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
syscall.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
volatile.go compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00