I tried to compile a bitcode file into an object file with llc and received an error message. First, I tried a bitcode file whose first line was "target triple = "i686-pc-windows"". llc complained that "target does not support generation of this file type!" Next, I tried a bitcode file whose first line was "target triple = "i686-pc-linux"". llc gave me the following error: FIXME: This code needs to be updated for changes in the CodeEmitter interfaces. In particular, this should set BufferBegin/BufferEnd/CurBufferPtr, not deal with OutBuffer! This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Any help would be appreciated. Thanks, Jon
Anton Korobeynikov
2009-Jul-15 18:35 UTC
[LLVMdev] llc can't generate object files on Windows
Hello, Jon> I tried to compile a bitcode file into an object file with llc and > received an error message. First, I tried a bitcode file whose first > line was "target triple = "i686-pc-windows"". llc complained that > "target does not support generation of this file type!"LLVM currently cannot emit object files directly (this is WIP). Emit assembler source and use gnu as to get object file. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Seemingly Similar Threads
- [LLVMdev] [llvm-commits] Fwd: Re: [PATCH] Fix for bug in JIT exception table allocation
- [LLVMdev] Being able to know the jitted code-size before emitting
- [LLVMdev] Being able to know the jitted code-size before emitting
- [LLVMdev] Being able to know the jitted code-size before emitting
- [LLVMdev] Being able to know the jitted code-size before emitting