search for: executablemodule

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

2012 Dec 17
1
[LLVMdev] Execution Engine issue with composite module
...ow modules. I build module X, then module Y (which has a dependency on X). I've added an external declaration on module Y of the functions defined in X. i also link the except-handling module, but i think it is peripheral to the issue i like all the modules together in a single module called executableModule. I link them with the method: Linker::LinkModules(executableModule , moduleToLink, llvm::Linker::PreserveSource, &errorMsg); i call llvm::verifyModule(* executableModule, llvm::AbortProcessAction, &err); which doesn't seem to find anything wrong with the linked module. then i proce...
2013 Mar 17
0
[LLVMdev] LLVM ERROR: Program used external function 'X.foo' which could not be resolved!
Hi, I have this module: ; ModuleID = './executableModule' @typeInfo0 = constant { i32 } zeroinitializer @typeInfo1 = constant { i32 } { i32 1 } @typeInfo2 = constant { i32 } { i32 2 } @typeInfo3 = constant { i32 } { i32 3 } @typeInfo4 = constant { i32 } { i32 4 } @typeInfo5 = constant { i32 } { i32 5 } @typeInfo6 = constant { i32 } { i32 6 } declar...