Displaying 3 results from an estimated 3 matches for "3acreate".
2008 Jun 10
0
[LLVMdev] ExecutionEngine::create returns 0
On Tue, 10 Jun 2008 07:07:35 +0530, Mahadevan R wrote:
>> Now to compare it in detail with the much smaller program I've got and
>> maybe I'll figure out what's wrong with my call to
>> ExecutionEngine::create.
>
> That call is perfectly valid, actually. It works for me when linked
> with:
>
> g++ -o b b.o `llvm-config --ldflags` `llvm-config --libs
2008 Jun 10
2
[LLVMdev] ExecutionEngine::create returns 0
> Now to compare it in detail with the much smaller program I've got and
> maybe I'll figure out what's wrong with my call to
> ExecutionEngine::create.
That call is perfectly valid, actually. It works for me when linked with:
g++ -o b b.o `llvm-config --ldflags` `llvm-config --libs engine jit`
Cheers,
-Mahadevan.
2010 Sep 28
2
[LLVMdev] ExecutionEngine::create returns 0
...eate(mModule);
llvm::Function* func = ee->FindFunctionNamed("main");
typedef void (*PFN)();
PFN pfn = reinterpret_cast<PFN> (ee->getPointerToFunction(func));
pfn();
delete ee;
thanks,
subramanyam
--
View this message in context: http://old.nabble.com/ExecutionEngine%3A%3Acreate-returns-0-tp17710149p29825737.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.