[LLVMbugs] [Bug 5162] New: ExecutionEngine->DisableLazyCompilation() causes crashes on Function deletion

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Oct 10 13:19:23 PDT 2009


           Summary: ExecutionEngine->DisableLazyCompilation() causes crashes
                    on Function deletion
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: ian at mckellar.org
                CC: nicholas at mxc.ca, llvmbugs at cs.uiuc.edu

When the execution engine has lazy compilation disabled (so that all dependent
functions are compiled up front) there's a handle to a dependent function
that's held too long. The attached sample code will trigger the assertion, but
the failure goes away if you comment out the call to DisableLazyCompilation().

I'm hitting this because unladen-swallow sets DisableLazyCompilation but it
doesn't look like many other projects do.

I will likely be almost completely offline until mid November so I'm sorry that
I won't be able to respond to comments till then.

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