TheDan64/inkwell

Add a function to add llvm ir directly

NightProg opened this issue · 2 comments

Is your feature request related to a problem? Please describe.
I want to add my llvm ir code already written in llvm ir

Describe the solution you'd like
a method to import llvm ir string

Describe possible drawbacks to your solution
the function .load_ir(<ir_file>)

KKould commented

Is Context::create_module_from_ir() what you want?