-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NativeAOT: Removed LLVM ObjWriter and LLVM dependency #99733
Conversation
…. Removed all LLVM ObjWriter package references.
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas |
Does this also remove the dependency of |
It only removes the LLVM ObjWriter dependency. What is |
Resolves #74505
StripSymbols doesn't depends on LLVM. It depends on some stripping tool, be it from binutils or LLVM. This doesn't affect that. The binary we're stripping is produced by the native linker, not object writer, and we still run the native linker and have no plans to replace that. |
What's the plan for the object writer in the LLVM repo? Do we need to delete it, or will it be dropped next time LLVM is upgraded? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎈🎈 🥳
Congrats! Huge kudos to @filipnavara. 🎉 cc @shushanhf, @clamp03, @gbalykov, new platforms can skip the llvm objwriter and directly implement it in C#. |
@am11 Thanks very much. |
Would be something nice to share. I already looked into RV64 support and how more code sharing can be achieved between platforms and NativeAOT/CoreCLR. |
I plan to push a PR after half a year as waiting LLVM amending some LA64's features and we also amend the Native-AOT. |
We should keep the branch, but not update it any further. |
It was merged to dotnet/llvm-project's main. Even if we delete it from main, it will stay in git history forever. imo, it's better to clean it up and remove the associated packaging infra from that repo's main to avoid confusions. |
Oh, interesting. That's kind of a bummer. I guess we will remove it. |
Failures are #99725 and unrelated to this PR. Merging. Thank you again everyone, especially @filipnavara for putting so much effort and thought into this work! |
Now that C# ObjWriter has had a few months to bake, it's time to get rid of the LLVM ObjWriter completely. Briefly talked to @filipnavara about removing the LLVM ObjWriter and he is feeling confident with the C# implementation.
This totally removes the LLVM ObjWriter from the repo. This includes removing the package dependencies and any mention of LLVM ObjWriter in the docs. NativeAOT will not rely on LLVM anymore, with the exception of using
coredistools
for dev work.