Displaying 1 result from an estimated 1 matches for "llvmexception".
Did you mean:
llvm_exception
2014 Jan 26
2
[LLVMdev] [llmdev] fail to process llvm generated assembly on windows/mingw32
...oByteArray();
BufferedOutputStream oOut = new BufferedOutputStream(new
FileOutputStream(oFile));
targetMachine.assemble(asm, clazz.getClassName(), oOut);
oOut.close();
(I use a java binding for llvm)
Unfortunately, the assemble call fails with the error:
org.robovm.llvm.LlvmException: java.io.PrintWriter:478:2: error:
unknown directive
.section
.text$java_io_PrintWriter_checkError__Z_lookup,"xr"
^
java.io.PrintWriter:479:2: error: unknown directive
.linkonce discard
^
java.io.PrintWriter:629:2: error: unknown directive
.section...