[LLVMbugs] [Bug 3088] New: "Pass not initialized!"

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Nov 17 17:47:42 PST 2008


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

           Summary: "Pass not initialized!"
           Product: libraries
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sliedes at cc.hut.fi
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2219)
 --> (http://llvm.org/bugs/attachment.cgi?id=2219)
Test case

Running "opt bugpoint-reduced-simplified.bc -sretpromotion -lowerallocs" on the
attached bitcode causes an assertion failure with the message "Pass not
initialized!". Architecture is amd64.

------------------------------------------------------------
$ opt bugpoint-reduced-simplified.bc -sretpromotion -lowerallocs
opt:
/home/sliedes/llvm/src/llvm-2.4/lib/Transforms/Utils/LowerAllocations.cpp:103:
virtual bool<unnamed>::LowerAllocations::runOnBasicBlock(llvm::BasicBlock&):
Assertion `MallocFunc && FreeFunc && "Pass not initialized!"' failed.
opt[0x7603af]
/lib/libc.so.6[0x7fc1ea32ef60]
/lib/libc.so.6(gsignal+0x35)[0x7fc1ea32eed5]
/lib/libc.so.6(abort+0x183)[0x7fc1ea3303f3]
/lib/libc.so.6(__assert_fail+0xe9)[0x7fc1ea327dc9]
opt[0x5d3cb9]
opt[0x6fefb8]
opt(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x15b)[0x6ff8ab]
opt[0x613ef0]
opt(_ZN4llvm13MPPassManager11runOnModuleERNS_6ModuleE+0xd0)[0x6ff3d0]
opt(_ZN4llvm15PassManagerImpl3runERNS_6ModuleE+0x86)[0x6ff686]
opt(main+0xa5f)[0x49035f]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7fc1ea31b1a6]
opt(sinh+0x39)[0x485379]
Aborted
------------------------------------------------------------


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