[LLVMbugs] [Bug 11849] New: trunk doesn't work with ObjC++: Assertion failed: (D && "Cannot get layout of forward declarations!")
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 24 13:09:23 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=11849
Bug #: 11849
Summary: trunk doesn't work with ObjC++: Assertion failed: (D
&& "Cannot get layout of forward declarations!")
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: mayer.julian at googlemail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
hello all. i wanted to try trunk to see if a bad codegen bug in clang is fixed
but i can't get it to work with my project from within xcode it works fine for
some C and ObjC files but fails for my ObjC++ and one C++ file, it breaks with
this assertion:
Assertion failed: (D && "Cannot get layout of forward declarations!"), function
getASTRecordLayout, file RecordLayoutBuilder.cpp, line 2066.
0 clang 0x00000001014851c2
llvm::SmallVectorImpl<char>::swap(llvm::SmallVectorImpl<char>&) + 14194
1 clang 0x00000001014857b9
llvm::SmallVectorImpl<char>::swap(llvm::SmallVectorImpl<char>&) + 15721
2 libSystem.B.dylib 0x00007fff84d711ba _sigtramp + 26
3 libSystem.B.dylib 0x0000000102033600 _sigtramp + 2100044896
4 clang 0x0000000101485406
llvm::SmallVectorImpl<char>::swap(llvm::SmallVectorImpl<char>&) + 14774
5 clang 0x00000001014853c7
llvm::SmallVectorImpl<char>::swap(llvm::SmallVectorImpl<char>&) + 14711
full invocation command, assertion details and preprocessed sources attached.
tried trunk llvm+clang from yesterday and today (2 hours ago), same thing.
--
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