tinygo/compiler
Ayke van Laethem d845f1e1b2 wasm: fix functions exported through //export
When a function is exported using //export, but also had a
//go:wasm-module pragma, the //export name was ignored. The
//go:wasm-module doesn't actually do anything besides breaking the
export (exported functions don't have a module name).

I've refactored and cleaned up the code, and in the process removed this
weird edge case.
2023-07-28 13:57:24 +02:00
..
ircheck all: remove pointer ElementType calls 2022-10-19 22:23:19 +02:00
llvmutil compiler: move some llvmutil code into the compiler 2023-01-18 08:24:42 +01:00
testdata wasm: fix functions exported through //export 2023-07-28 13:57:24 +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 compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00
calls.go fix some comments 2023-04-18 22:51:49 +02:00
channel.go compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00
compiler.go compiler: only calculate functionInfo once 2023-05-20 11:24:20 +02:00
compiler_test.go main: use go env instead of doing all detection manually 2023-07-07 16:55:59 +02:00
defer.go feat: fix typos 2023-03-24 09:22:38 -07:00
errors.go all: fix staticcheck warnings 2021-09-27 15:47:12 +02:00
func.go compiler: correctly generate code for local named types 2023-03-21 22:22:03 +01:00
gc.go wasm: avoid miscompile with ThinLTO 2023-01-18 08:24:42 +01:00
goroutine.go compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00
inlineasm.go compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00
interface.go compiler,reflect: NumMethods reports exported methods only 2023-07-02 15:35:42 +02:00
interrupt.go compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00
intrinsics.go compiler: implement most math/bits functions 2023-03-29 20:55:09 +02:00
llvm.go compiler: implement most math/bits functions 2023-03-29 20:55:09 +02:00
map.go compiler: for interface maps, use the original named type if available 2023-03-25 22:32:29 +01:00
sizes.go compiler: fix unsafe.Sizeof for chan and map values 2022-09-01 03:53:27 +02:00
symbol.go wasm: fix functions exported through //export 2023-07-28 13:57:24 +02:00
syscall.go compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00
volatile.go compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00