dotnet / runtimelab

This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.
MIT License
1.36k stars 188 forks source link

[NativeAOT-LLVM] Remove the LLVMSharp dependency #2615

Closed SingleAccretion closed 2 weeks ago

SingleAccretion commented 2 weeks ago

Use the LLVM buit into the Jit instead, with a thin interop layer.

This has a number of benefits: 1) No dependency on external build processes. 2) "By construction" LLVM version coherency. 3) Smaller package size. 4) Ability to expose anything we may need from the LLVM's C++ API.

The downside is that we need to write a bit more code.

This is a no-diff change.

SingleAccretion commented 2 weeks ago

@dotnet/nativeaot-llvm