http://llvm.org/bugs/show_bug.cgi?id=11011
Summary: MCJIT does not support ELF ("Unknown Object Format")
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
The MC infrastructure is currently only functional for MachO-targets.
lli fails with an "Unknown Object Format"-Error if supplied with the -use-mcjit
flag.
As noted by Xerxes Ranby on the mailinglist, this is due to
RuntimeDyldMachO::isKnownFormat() to return false (as it should on ELF).
There is no similar RuntimeDyldELF class right now.
testcase:
llvm-as < llvm/test/ExecutionEngine/hello.ll | lli -use-mcjit
This currently prevents usage of AVX instruction sets in jit-based applications
since they are not supported by the old, non-MC infrastructure.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs