[LLVMbugs] [Bug 2460] New: Module dtor segfaults on empty PHI nodes.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Jun 14 10:27:05 PDT 2008


           Summary: Module dtor segfaults on empty PHI nodes.
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: quality-of-implementation
          Severity: normal
          Priority: P2
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: mdevan.foobar at gmail.com
                CC: llvmbugs at cs.uiuc.edu

If a module has an empty PHI node (a PHI node on which addIncomingBlock() has
not been called), then it segfaults while the module object is destroyed. It
can be reproduced by the attached test program.

Probably can be fixed by modifying User::dropHungoffUses().

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