tinygo/compiler
Ayke van Laethem 0463d34887 compiler: emit correct alignment in debug info for global variables
Previously we were using a really weird calculation to determine the
alignment in bits - written by me (no idea what I was thinking at the
time, it's obviously incorrect). Just replace it with the much more
obviously correct multiplication by 8 to get bits from bytes.

Found while working on properly dealing with alignment in `-size=full`.
2023-03-08 07:09:46 +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 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 all: remove pointer ElementType calls 2022-10-19 22:23:19 +02:00
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 compiler: zero struct padding during map operations 2023-02-25 22:40:08 +01:00
defer.go compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00
errors.go all: fix staticcheck warnings 2021-09-27 15:47:12 +02:00
func.go compiler; add position information to createConstant 2023-03-05 17:13:16 -08: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; 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 compiler; add position information to createConstant 2023-03-05 17:13:16 -08:00
sizes.go compiler: fix unsafe.Sizeof for chan and map values 2022-09-01 03:53:27 +02:00
symbol.go compiler: emit correct alignment in debug info for global variables 2023-03-08 07:09:46 +01: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