tsmart-thu / llvm-java-binding

An llvm java binding
MIT License
7 stars 2 forks source link

Migrating latest code. #1

Open cgcgbcbc opened 5 years ago

cgcgbcbc commented 5 years ago

Migrating latest code from the original code base, including bug fixes and parser for Metadata

The challenge is that this repo is splitted as subtree and the code structure in the original code base may have changed. Perhaps we need to create a new subtree from current master of tsmart and manually cherry pick patches for this repo.

lfkdsk commented 5 years ago

How about use CodeGen to release this llvm cpp binding? (by the way llvm 3.4 is a too old version

cgcgbcbc commented 5 years ago

How about use CodeGen to release this llvm cpp binding? (by the way llvm 3.4 is a too old version

Thanks for your advice! Can you point out the link to CodeGen so that I can take a look? The master branch is using LLVM 3.9.0 since our IR analysis tool depends on that version, perhaps I can create a dev branch for binding to lastest LLVM release

lfkdsk commented 5 years ago

Just like the library used in this repo, javacpp-presets' llvm c api binding was generated by javacpp. (it translate cpp to java binding with annotations. You could get more information from the following links: