dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.91k stars 4.63k forks source link

RFE: Add support for using system version of the llvm-libunwind library #104796

Open omajid opened 1 month ago

omajid commented 1 month ago

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.

jkotas commented 1 month ago

Related https://github.com/dotnet/runtime/issues/72655

dotnet-policy-service[bot] commented 1 month ago

Tagging subscribers to this area: @hoyosjs See info in area-owners.md if you want to be subscribed.