tinygo/cgo
Ayke van Laethem ebd4969cde all: switch to LLVM 13
This adds support for building with `-tags=llvm13` and switches to LLVM
13 for tinygo binaries that are statically linked against LLVM.

Some notes on this commit:

  * Added `-mfloat-abi=soft` to all Cortex-M targets because otherwise
    nrfx would complain that floating point was enabled on Cortex-M0.
    That's not the case, but with `-mfloat-abi=soft` the `__SOFTFP__`
    macro is defined which silences this warning.
    See: https://reviews.llvm.org/D100372
  * Changed from `--sysroot=<root>` to `-nostdlib -isystem <root>` for
    musl because with Clang 13, even with `--sysroot` some system
    libraries are used which we don't want.
  * Changed all `-Xclang -internal-isystem -Xclang` to simply
    `-isystem`, for consistency with the above change. It appears to
    have the same effect.
  * Moved WebAssembly function declarations to the top of the file in
    task_asyncify_wasm.S because (apparently) the assembler has become
    more strict.
2022-01-09 11:04:10 +01:00
..
testdata cgo: add support for C.CString and related functions 2021-11-24 21:09:29 +01:00
cgo.go builder: use build ID as cache key 2021-12-28 18:29:05 -05:00
cgo_test.go cgo: add //go: pragmas to generated functions and globals 2021-11-24 21:09:29 +01:00
const.go cgo: implement prefix parsing 2021-05-21 17:54:13 +02:00
const_test.go cgo: implement prefix parsing 2021-05-21 17:54:13 +02:00
libclang.go cgo: run CGo parser for all CGo fragments in a file 2021-11-04 22:26:33 +01:00
libclang_config.go all: switch to LLVM 13 2022-01-09 11:04:10 +01:00
libclang_config_llvm12.go all: add LLVM 12 support 2021-11-30 21:53:16 +01:00
libclang_config_llvm13.go all: switch to LLVM 13 2022-01-09 11:04:10 +01:00
libclang_stubs.c all: drop support for LLVM 10 2021-10-31 10:44:17 +01:00
security.go cgo: implement #cgo CFLAGS 2019-11-25 09:32:03 +01:00
security_test.go cgo: implement #cgo CFLAGS 2019-11-25 09:32:03 +01:00
sync.go cgo: refactor; support multiple cgo files in a single package 2019-05-12 10:49:15 +02:00