-
-
Notifications
You must be signed in to change notification settings - Fork 268
Fix a bunch of errors and deprecation for LLVM 21 #4950
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
Conversation
Also it seems that For now I have just copied what the old code did inline. |
This should be good to go now, but please give a thorough review on |
Ping |
I will merge this tomorrow if there are no objections. |
Fix the undefined `getGlobalContext()` symbol for libldc-jit.so, showing up with CircleCI, introduced in ldc-developers#4950.
Fix the undefined `getGlobalContext()` symbol for libldc-jit.so, showing up with CircleCI, introduced in #4950.
Best reviewed per commit.
I am unsure what the correct value to use for the
llvm::LocationSize
in the case we don't know the size.There are still a bunch of deprecations from using
InsertPosition
e.g. fromgIR->topallocapoint()
instead ofBasicBlock::iterators
for insertion.