[LLVMbugs] [Bug 2784] New: Assert violation when generating debug info for pointer to opaque type

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Sep 10 10:29:26 PDT 2008


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

           Summary: Assert violation when generating debug info for pointer
                    to opaque type
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: AST
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: shackan at gmail.com
                CC: llvmbugs at cs.uiuc.edu


$ echo "struct OPAQUE; typedef struct OPAQUE *PTR; PTR p;" | clang -g
-emit-llvm 

clang: (...)/llvm/tools/clang/lib/AST/ASTContext.cpp:487: const
clang::ASTRecordLayout& clang::ASTContext::getASTRecordLayout(const
clang::RecordDecl*): Assertion `D && "Cannot get layout of forward
declarations!"' 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