[LLVMbugs] [Bug 2029] New: CBE fails with -enable-correct-eh-support

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Feb 13 19:29:52 PST 2008


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

           Summary: CBE fails with -enable-correct-eh-support
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: C
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1401)
 --> (http://llvm.org/bugs/attachment.cgi?id=1401)
testcase

llc -march=c crashes compiling the attached testcase with the
-enable-correct-eh-support option.

$ llc b.bc -march=c -f -o b.c -enable-correct-eh-support
llc: Value.cpp:57: virtual llvm::Value::~Value(): Assertion `use_empty() &&
"Uses remain when a value is destroyed!"' failed.
llc((anonymous namespace)::PrintStackTrace()+0x22)[0x8a873e2]
llc((anonymous namespace)::SignalHandler(int)+0x110)[0x8a8770a]
[0xffffe500]
[0x6]
/lib/tls/i686/cmov/libc.so.6(abort+0xe9)[0x41e982b9]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0x101)[0x41e8ff51]
llc(llvm::Value::~Value()+0x164)[0x8a35758]
llc(llvm::BasicBlock::~BasicBlock()+0x51)[0x89b3c29]
llc(llvm::iplist<llvm::BasicBlock, llvm::ilist_traits<llvm::BasicBlock>
>::erase(llvm::ilist_iterator<llvm::BasicBlock>)+0x33)[0x88de98d]
llc[0x892c447]
llc[0x892c4d0]
llc(llvm::FPPassManager::runOnFunction(llvm::Function&)+0x122)[0x8a1515e]
llc(llvm::FPPassManager::runOnModule(llvm::Module&)+0x6e)[0x8a1530e]
llc(llvm::MPPassManager::runOnModule(llvm::Module&)+0x108)[0x8a14e28]
llc(llvm::PassManagerImpl::run(llvm::Module&)+0x6e)[0x8a14fe2]
llc(llvm::PassManager::run(llvm::Module&)+0x1a)[0x8a15036]
llc(main+0x5b0)[0x8424a3c]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2)[0x41e82ea2]
llc[0x8423d51]
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