[LLVMbugs] [Bug 3998] New: LLVM JIT generates code into a fixed size buffer

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Apr 16 15:12:49 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=3998

           Summary: LLVM JIT generates code into a fixed size buffer
           Product: new-bugs
           Version: unspecified
          Platform: All
               URL: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=21
                    9
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: xerxes at zafena.se
                CC: llvmbugs at cs.uiuc.edu


Forwarded this bug since it affects any JIT using LLVM.
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=219

Quoted from gbenson:
"
LLVM generates all code into a buffer of fixed size, and once this buffer is
filled it simply exits with an abort(), taking out the VM.  Clearly this needs
fixing for Shark.

There are two possible places a fix could occur:

1) In lib/ExecutionEngine/JIT/JITEmitter.cpp, in JITEmitter::finishFunction.
   This is where the abort() is; there's a FIXME saying to allocate more space
   and try again.

2) In lib/ExecutionEngine/JIT/JITMemoryManager.cpp, by extending the default
   memory manager to be able to grow the block or something.
"


-- 
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