Support llvm-16 #1416
Replies: 4 comments 4 replies
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response, I would like to help, Can you please help me getting started. With inkwell what all dependencies we need to look at for upgrading of llvm-14 to llvm-16. I tried to build rusty for llvm-16 but I am getting issues. I changed the Cargo.toml
Error we are getting
I have copied only few lines. Please help me, how we can proceed further. Thank You. |
Beta Was this translation helpful? Give feedback.
-
So llvm 16 introduced a big change with pointer values, this is probably what you are facing here. Pointers in llvm 16 no longer have types. I think inkwell was working on a feature flag to enable the old behavior in 0.6 but it's still not merged. TheDan64/inkwell#570 for now, this means to upgrade to llvm-16 we need to support opaque pointers. Which is a pretty big refactor. I'm assuming that the feature flag you use (llvm-16) disables the PointerValue and probably replaces it with an equivalant type that is opaque. I would start looking there. I'm not sure what happened to the CallableValue but i assume it has similar issues. |
Beta Was this translation helpful? Give feedback.
-
Hi, Thank You Again. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Thanks a lot for the project!
I'm wondering if you are upgrading RuSTy to support llvm-16.
Thank You
Beta Was this translation helpful? Give feedback.
All reactions