search for: ltarget

Displaying 5 results from an estimated 5 matches for "ltarget".

Did you mean: target
2017 Sep 19
2
What is the correct Targettripple for generating a X86 COFF-Files on windows?
Just got started and stuck at the same time. Working with the C-Api, i have come to the point where i want to emit a binary file for my module. I queried the X86-Target and called LLVMCreateTargetMachine this way: > LTarget := LLVMGetTargetFromName('x86'); > LMachine := LLVMCreateTargetMachine(LTarget, 'i386-win32-msvc', nil, > nil, LLVMCodeGenLevelDefault, LLVMRelocDefault, LLVMCodeModelDefault); > A call to LLVMTargetMachineEmitToFile using LLVMObjectFile does output a obj-file. But...
2017 Sep 19
0
What is the correct Targettripple for generating a X86 COFF-Files on windows?
...er Benikowski <sebal007 at googlemail.com>: > Just got started and stuck at the same time. Working with the C-Api, i > have come to the point where i want to emit a binary file for my module. I > queried the X86-Target and called LLVMCreateTargetMachine this way: > >> LTarget := LLVMGetTargetFromName('x86'); >> LMachine := LLVMCreateTargetMachine(LTarget, 'i386-win32-msvc', >> nil, nil, LLVMCodeGenLevelDefault, LLVMRelocDefault, LLVMCodeModelDefault); >> > > A call to LLVMTargetMachineEmitToFile using LLVMObjectFile does ou...
2004 Aug 10
0
[LLVMdev] API on JIT, code snippets
...b/lli-interpreter.o /usr/local/lib/lli-jit.o /usr/local/lib/codegen.o /usr/local/lib/executionengine.o /usr/local/lib/x86.o /usr/local/lib/selectiondag.o /usr/local/lib/scalaropts.o -lanalysis -ltransformutils /usr/local/lib/bcreader.o /usr/local/lib/vmcore.o /usr/local/lib/support.o -ltarget -export-dynamic -ldl (don't ask me why some modules are left as .o) Well. Compiled. Tested. Infinite loop in: GenericValue gv = EE->runFunction(FooF, noargs); you were really, really close, Reid, just a one mistake: < CallInst * Add1CallRes = new CallInst(FooF, Params, "foo&quo...
2004 Aug 10
1
[LLVMdev] API on JIT, code snippets
.../local/lib/lli-jit.o > /usr/local/lib/codegen.o /usr/local/lib/executionengine.o > /usr/local/lib/x86.o /usr/local/lib/selectiondag.o > /usr/local/lib/scalaropts.o -lanalysis -ltransformutils > /usr/local/lib/bcreader.o /usr/local/lib/vmcore.o > /usr/local/lib/support.o -ltarget -export-dynamic -ldl > > (don't ask me why some modules are left as .o) > > Well. Compiled. Tested. Infinite loop in: > > GenericValue gv = EE->runFunction(FooF, noargs); > > you were really, really close, Reid, just a one mistake: > > < CallInst * Add1...
2004 Aug 09
5
[LLVMdev] API on JIT, code snippets
Valery, Attached are three files: "valery.cpp" which contains your original, "reid.cpp" which contains corrections to most of the FIXME items and "diffs" which shows the differences between them. The differences should be instructive on what to do. You were really, really close .. just a few details changing. The code in "reid.cpp" compiles but I