This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.
1.42k
stars
199
forks
source link
[NativeAOT-LLVM] Use the `__start`/`__stop` symbols to reference modules for WASM #2316
Closed
SingleAccretion closed 1 year ago
As it turns out,
wasm-ld
already supports emitting these special symbols, so all we need to do is make sure the section is kept alive via@llvm.used
.Discovered this accidentally while looking at linker source code.