Closed AnErrupTion closed 1 year ago
I'll try to take a look this weekend. Might end up having to debug into libLLVM to see what's failing on the native side.
@tannergooding Any news?
This issue still seems to occur, even on the JavaCPP bindings. However, I tried the C++ API and it works just fine. I'm not sure what could be the cause of this error...
Actually, it was my fault all along. I was using directly the void type instead of creating a function type...
Hello!
I'm encountering a very weird error when using those bindings. If I create an empty module then dump it, it works fine:
But as soon as I add a function like this, before dumping:
It crashes and seg faults like this:
I've never encountered this, and in fact, it only seems to happen with those bindings, as the
llvm-sys
Rust bindings work just fine. I've tried LLVMSharp 14 and 15 (having 14 on my system), but same issue.I'm using Fedora 36 with LLVM 14.0.5, if that helps.