search for: llvmgettargetfromnam

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

Did you mean: llvmgettargetfromname
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 it seems it is an ELF-Fi...
2017 Sep 19
0
What is the correct Targettripple for generating a X86 COFF-Files on windows?
...ki <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 output a > obj-file. Bu...