tinygo/cgo
Ayke van Laethem 1d7543e2bf all: switch to LLVM 16
This commit adds support for LLVM 16 and switches to it by default. That
means three LLVM versions are supported at the same time: LLVM 14, 15,
and 16.

This commit includes work by QuLogic:

  * Part of this work was based on a PR by QuLogic:
    https://github.com/tinygo-org/tinygo/pull/3649
    But I also had parts of this already implemented in an old branch I
    already made for LLVM 16.
  * QuLogic also provided a CGo fix here, which is also incorporated in
    this commit:
    https://github.com/tinygo-org/tinygo/pull/3869

The difference with the original PR by QuLogic is that this commit is
more complete:
  * It switches to LLVM 16 by default.
  * It updates some things to also make it work with a self-built LLVM.
  * It fixes the CGo bug in a slightly different way, and also fixes
    another one not included in the original PR.
  * It does not keep compiler tests passing on older LLVM versions. I
    have found this to be quite burdensome and therefore don't generally
    do this - the smoke tests should hopefully catch most regressions.
2023-09-18 21:58:02 +02:00
..
testdata all: switch to LLVM 16 2023-09-18 21:58:02 +02:00
cgo.go cgo: add support for C.float and C.double 2022-10-13 17:13:12 +02:00
cgo_test.go builder: add support for Go 1.20 2023-01-17 08:38:54 +01:00
const.go cgo: add support for bitwise operators 2023-01-12 08:51:03 +01:00
const_test.go cgo: add support for bitwise operators 2023-01-12 08:51:03 +01:00
libclang.go all: switch to LLVM 16 2023-09-18 21:58:02 +02:00
libclang_config_llvm14.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
libclang_config_llvm15.go all: switch to LLVM 16 2023-09-18 21:58:02 +02:00
libclang_config_llvm16.go all: switch to LLVM 16 2023-09-18 21:58:02 +02:00
libclang_stubs.c all: switch to LLVM 16 2023-09-18 21:58:02 +02:00
security.go cgo: allow LDFLAGS: --export=... 2023-05-04 20:45:02 +02:00
security_test.go cgo: allow LDFLAGS: --export=... 2023-05-04 20:45:02 +02:00
sync.go cgo: refactor; support multiple cgo files in a single package 2019-05-12 10:49:15 +02:00