tinygo/cgo/testdata
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
..
include cgo: make -I and -L paths absolute 2020-03-17 20:43:28 +01:00
basic.go cgo: add bare-bones test 2019-11-03 19:15:38 +01:00
basic.out.go cgo: refactor 2022-05-06 17:22:22 +02:00
const.go cgo: add support for symbols 2020-01-03 23:44:58 +01:00
const.out.go cgo: refactor 2022-05-06 17:22:22 +02:00
errors.go cgo: refactor 2022-05-06 17:22:22 +02:00
errors.out.go all: switch to LLVM 16 2023-09-18 21:58:02 +02:00
flags.go cgo: Add LDFlags support 2020-05-21 00:57:19 +02:00
flags.out.go cgo: refactor 2022-05-06 17:22:22 +02:00
symbols.go cgo: implement support for static functions 2022-09-16 14:05:17 +02:00
symbols.out.go cgo: implement support for static functions 2022-09-16 14:05:17 +02:00
types.go cgo: add support for C.float and C.double 2022-10-13 17:13:12 +02:00
types.out.go all: switch to LLVM 16 2023-09-18 21:58:02 +02:00