Displaying 3 results from an estimated 3 matches for "isknownformat".
2011 Aug 31
1
[LLVMdev] Trouble using the MCJIT: "Target does not support MC emission" error
...y.bc" but exits with an
> error for "lli -use-mcjit y.bc":
> "LLVM ERROR: Unknown object format"
When I test the MCJIT under Linux I notice that lli are indeed trying to
load a buffer that contains an ELF object but fails to verify the format
using RuntimeDyldMachO::isKnownFormat this of course fails since Linux
uses ELF instead of Mach-o and this are causing lli to report (unknown
object format).
We need to implement
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
for the MCJIT to work on ELF systems.
Testcase:
./llvm-as < llvm/test/ExecutionEngine/hello.ll |...
2011 Aug 31
0
[LLVMdev] Trouble using the MCJIT: "Target does not support MC emission" error
Hi Matt, hi Bruno,
I am still struggling to use AVX via MCJIT on TOT... did you succeed yet?
I seem to be unable to even get lli to run some code with the
"use-mcjit" flag.
I attached a test case that works fine for "lli y.bc" but exits with an
error for "lli -use-mcjit y.bc":
"LLVM ERROR: Unknown object format"
If I call InitializeAllTargetMCs() before
2011 Aug 26
2
[LLVMdev] Trouble using the MCJIT: "Target does not support MC emission" error
Following along from lli code, if you add a call to InitializeNativeTargetAsmPrinter() during setup, it gets a bit farther and crashes rather than issuing that error. (Rebuilding with debugging symbols now to dig into it further…)
-matt
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x000000010000349e in