Is there a way to parse LLVM bitcode in my Java application? In other words, is there any library that has Java binding and can parse LLVM bitcode, which I could then access using some DOM or any other way?
Note that I'm not trying to convert LLVM bitcode to Java bytecode, just trying to parse LLVM bitcode into some workable representation for Java.
Using the LLVM C bindings via something like JNI is probably the most straightforward approach. However, since this question was asked, I was able to find a few projects that may be of help, as well as produce one of my own:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With