Add LLVM 23 support - #28
Conversation
|
Thank you @adriaanjacobs . I added the CI and README changes to your branch. I also removed pre LLVM-23 support. |
|
Ah, I had hoped you wouldn't. Thanks for merging, but would it be possible to try and keep support for other LLVM versions around? I typically have projects targeting multiple different LLVM versions, and I expect many prototypes will continue targeting LLVM 15 for a while still (due to opaque pointers). |
|
I think at some point we do need to drop support for older versions. Anyway, for now, I have this: #29 |
Do you want this tool itself building against the older LLVMs? because the tool (as far as I can tell) would just work for IR generated by older LLVMs anyway, even if it itself only builds with LLVM-23. |
|
Ah, to clarify: all my uses of DebugIR is as an in-pass transformation that adds IR debug information to the compiled program (= debugir as a library, I am also the author of #21 for this reason), rather than as a standalone tool. So in my case, the version of LLVM that DebugIR builds against matches the version of LLVM IR it is processing. |
Hi
I'm still using DebugIR, still very useful!
I had to patch some things to get it to work on LLVM 23 (latest Ubuntu 24.04 default LLVM version).
This patch does not update the README or CI yet, I'll leave that up to you