[LLVMbugs] [Bug 7215] New: Assertion during ctor/dtor emission

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 24 11:32:51 PDT 2010


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

           Summary: Assertion during ctor/dtor emission
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: asl at math.spbu.ru
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 5881


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

Consider the attached testcase. I'm having:

$ /home/asl/proj/llvm/build_debug/Debug/bin/clang++ qlayout_widget.ii
ome/asl/proj/llvm/src/tools/clang/lib/CodeGen/CodeGenFunction.cpp:172: void
clang::CodeGen::CodeGenFunction::StartFunction(clang::CodeGen::GlobalDecl,
clang::QualType, llvm::Function*, const clang::CodeGen::FunctionArgList&,
clang::SourceLocation): Assertion `CurFn->isDeclaration() && "Function already
has body?"' failed.

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