inkwell
inkwell copied to clipboard
It's a New Kind of Wrapper for Exposing LLVM (Safely)
**Describe the Bug** The convention adopted by the syntax for the conditional 'br' instruction in the LLVM language reference manual (https://llvm.org/docs/LangRef.html#i-br) is: `br i1 , label , label ` In...
**Describe the Bug** Say I have a global string in LLVM ```` @0 = constant [2 x i8] "\n\0", align 1 ```` And then I do a load to this...
**Describe the Bug** We use inkwell on the wasmer project. After an update from the 0.1.0-beta4 to latest 0.1.0, the build on macOS x86_64 is failing. Wasmer create a custom...
**Describe the Bug** Calling `builder.get_insert_block` occasionally triggers assert failed in inkwell-0.1.0\src\basic_block.rs:40 **To Reproduce** I failed to reproduce it in a simple test project. For the original stack trace please see...
**Is your feature request related to a problem? Please describe.** I would like to check the alignment of types once they have been lowered to BasicValueEnums. **Describe the solution you'd...
**Describe the Bug** Segfault when calling native function with structure return in jit engine **To Reproduce** ```rust use inkwell::targets::{InitializationConfig, Target}; use inkwell::context::Context; use inkwell::OptimizationLevel; #[repr(C)] struct Result{ value: u64, flag:...
**Is your feature request related to a problem? Please describe.** I have been following the Kaleidoscope tutorial. But if I declare a random function and then call it, the process...
**Is your feature request related to a problem? Please describe.** Forgetting branch at the end of basic block is a common mistake, that leads to invalid IR. **Describe the solution...
I am trying to add some functions from rust to a jit. the kaleidoscope example has printd and I am confused it is able to be called from the jit....
Compiling llvm-sys v160.1.4 Compiling inkwell v0.4.0 (https://github.com/TheDan64/inkwell?branch=master#5d5a531c) error: could not find native static library `Polly`, perhaps an -L flag is missing? error: could not compile `llvm-sys` (lib) due to 1...