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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
            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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to