[LLVMbugs] [Bug 11011] New: MCJIT does not support ELF ("Unknown Object Format")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 26 03:54:27 PDT 2011


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: unassignedbugs at nondot.org
        ReportedBy: karrenberg at cs.uni-saarland.de
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list