search for: llvmlinkmodul

Displaying 2 results from an estimated 2 matches for "llvmlinkmodul".

Did you mean: llvmlinkmodules
2015 Jun 08
3
[LLVMdev] Question about usage of LLVMLinkModules()
...erent modules. One being a "standard" library of sorts and the other the main module which should use it. I create both modules, with no errors appearing if I use LLVMVerifyModule() on them. The problem is how do I link them? I tried to do it like this: // if an error occurs LLVMLinkModules() returns true if (true == LLVMLinkModules(main_module, stdlib_module, LLVMLinkerDestroySource, &error)) { bllvm_error("Could not link LLVM modules", error); goto end; } But this fails (returns true), with no error. Even thou...
2015 Jun 11
2
[LLVMdev] Question about usage of LLVMLinkModules()
...library of sorts and the other the main module which should use > it. I create both modules, with no errors appearing if I use > LLVMVerifyModule() on them. > > > > The problem is how do I link them? I tried to do it like this: > > > > // if an error occurs LLVMLinkModules() returns true > > if (true == LLVMLinkModules(main_module, stdlib_module, > LLVMLinkerDestroySource, &error)) { > > bllvm_error("Could not link LLVM modules", error); > > goto end; > > } > > &g...