The .NET runtime has a copy of the llvm-libunwind library at src/native/external. Like other libraries in runtime (eg, rapidjson, zlib, libunwind), it would be nice if we could build runtime against the system version of the llvm-libunwind library instead.
I gave it a quick try and it looks like the runtime uses several internal APIs from llvm-libunwind, which makes it hard to link against just the public API provided by the system llvm-libunwind library.
This isn't an urgent/important issue. I certainly don't want/expect it to be fixed for .NET 9. I am filing it here so this stays tracked.
The .NET runtime has a copy of the llvm-libunwind library at src/native/external. Like other libraries in runtime (eg, rapidjson, zlib, libunwind), it would be nice if we could build runtime against the system version of the llvm-libunwind library instead.
I gave it a quick try and it looks like the runtime uses several internal APIs from llvm-libunwind, which makes it hard to link against just the public API provided by the system llvm-libunwind library.
This isn't an urgent/important issue. I certainly don't want/expect it to be fixed for .NET 9. I am filing it here so this stays tracked.