tinygo/compiler
Ayke van Laethem 8babc47638 compiler: fix a race condition
There was a mostly benign race condition in the compiler. The issue was
that there is a check for type aliases (which can alias types in another
function), but this check was _after_ accessing a property of the
function that might not have been completed.

I don't think this can have any serious effects, as the function is
skipped anyway, but such bugs should certainly be fixed.
2023-03-06 09:30:11 +01: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 compiler: remove unsafe.Pointer(uintptr(v) + idx) optimization 2023-03-03 16:55:13 +01:00
alias.go
asserts.go
atomic.go compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00
calls.go
channel.go compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00
compiler.go compiler: fix a race condition 2023-03-06 09:30:11 +01:00
compiler_test.go
defer.go
errors.go
func.go
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
interface.go compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00
interrupt.go compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00
intrinsics.go compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00
llvm.go wasm: avoid miscompile with ThinLTO 2023-01-18 08:24:42 +01:00
map.go
sizes.go
symbol.go avr: support ThinLTO 2022-11-18 18:40:38 +01:00
syscall.go
volatile.go compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00