cdisselkoen / llvm-ir

LLVM IR in natural Rust data structures
MIT License
539 stars 45 forks source link

Support for LLVM 17 #48

Closed woodruffw closed 8 months ago

woodruffw commented 11 months ago

Looks like rustc bumped up to LLVM 17, starting with 1.73.0.

I'll try and get a PR opened for this in the coming days.

apps4uco commented 8 months ago

Hi, any news on this. +1 votes for this ;)

woodruffw commented 8 months ago

Hi, any news on this. +1 votes for this ;)

None from me, sorry. I was hoping to get started on this, but I haven't had the time.

Benjins commented 8 months ago

I've taken a stab at adding support for LLVM 17 here: https://github.com/cdisselkoen/llvm-ir/pull/55

API-wise, there isn't much (besides support for newer bitcode). LLVM 18.x has been branched, so it should release soon, and that will have a fair few updates to the C API

cdisselkoen commented 8 months ago

Closing this as #55 has been merged, providing support for LLVM 17 (current tests pass). If there are important shortcomings / things missing, please reopen this issue or open a new one