search for: llvmobjectfil

Displaying 6 results from an estimated 6 matches for "llvmobjectfil".

Did you mean: llvmobjectfile
2017 Sep 19
2
What is the correct Targettripple for generating a X86 COFF-Files on windows?
...TargetMachine 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-File. Looking through the code(and looking into the Tripple.cpp) i am not sure what to do exactly for creating a COFF-File. Best regards Alexander B. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists....
2017 Sep 19
0
What is the correct Targettripple for generating a X86 COFF-Files on windows?
...>> 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-File. Looking through the code(and > looking into the Tripple.cpp) i am not sure what to do exactly for creating > a COFF-File. > > Best regards > Alexander B. > -------------- next part -------------- An HTML attachment was...
2017 Sep 16
2
assertion triggered since update to llvm 5
...:PassManager::run (this=0x7fffffffc010, M=...) at /home/andy/downloads/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1725 #23 0x0000000001d4017d in ZigLLVMTargetMachineEmitToFile (targ_machine_ref=0x9080d50, module_ref=0x907e870, filename=0x90cf360 "./zig-cache/test.o", file_type=LLVMObjectFile, error_message=0x7fffffffc2f8, is_debug=false) at /home/andy/dev/zig/src/zig_llvm.cpp:166 #24 0x0000000001cd041d in do_code_gen (g=0x907a980) at /home/andy/dev/zig/src/codegen.cpp:4379 #25 0x0000000001cd4634 in codegen_build (g=0x907a980) at /home/andy/dev/zig/src/codegen.cpp:5484 #26 0x000000...
2017 Sep 17
2
assertion triggered since update to llvm 5
...at /home/andy/downloads/llvm-project/llvm/lib/IR/LegacyPassMana >> ger.cpp:1725 >> #23 0x0000000001d4017d in ZigLLVMTargetMachineEmitToFile >> (targ_machine_ref=0x9080d50, >> module_ref=0x907e870, filename=0x90cf360 "./zig-cache/test.o", >> file_type=LLVMObjectFile, >> error_message=0x7fffffffc2f8, is_debug=false) at >> /home/andy/dev/zig/src/zig_llvm.cpp:166 >> #24 0x0000000001cd041d in do_code_gen (g=0x907a980) at >> /home/andy/dev/zig/src/codegen.cpp:4379 >> #25 0x0000000001cd4634 in codegen_build (g=0x907a980) at >&gt...
2017 Sep 17
4
assertion triggered since update to llvm 5
...nloads/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1725 >>>> #23 0x0000000001d4017d in ZigLLVMTargetMachineEmitToFile >>>> (targ_machine_ref=0x9080d50, >>>> module_ref=0x907e870, filename=0x90cf360 "./zig-cache/test.o", >>>> file_type=LLVMObjectFile, >>>> error_message=0x7fffffffc2f8, is_debug=false) at >>>> /home/andy/dev/zig/src/zig_llvm.cpp:166 >>>> #24 0x0000000001cd041d in do_code_gen (g=0x907a980) at >>>> /home/andy/dev/zig/src/codegen.cpp:4379 >>>> #25 0x0000000001cd4634 i...
2017 Sep 17
2
assertion triggered since update to llvm 5
...PassMana >>>>> ger.cpp:1725 >>>>> #23 0x0000000001d4017d in ZigLLVMTargetMachineEmitToFile >>>>> (targ_machine_ref=0x9080d50, >>>>> module_ref=0x907e870, filename=0x90cf360 "./zig-cache/test.o", >>>>> file_type=LLVMObjectFile, >>>>> error_message=0x7fffffffc2f8, is_debug=false) at >>>>> /home/andy/dev/zig/src/zig_llvm.cpp:166 >>>>> #24 0x0000000001cd041d in do_code_gen (g=0x907a980) at >>>>> /home/andy/dev/zig/src/codegen.cpp:4379 >>>>> #25...