[LLVMbugs] [Bug 10532] New: Assertion `FieldNo < FieldCount && "Invalid Field No"' failed.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 28 18:27:42 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10532
Summary: Assertion `FieldNo < FieldCount && "Invalid Field No"'
failed.
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: joerg at NetBSD.org
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=6965)
--> (http://llvm.org/bugs/attachment.cgi?id=6965)
Failing input
Back trace from clang:
#3 0x000000000133a34a in clang::ASTRecordLayout::getFieldOffset
(this=0x648ce50, FieldNo=13)
at
/home/joerg/work/LLVM/llvm/tools/clang/lib/CodeGen/../../include/clang/AST/RecordLayout.h:121
#4 0x0000000001cc28b6 in (anonymous
namespace)::EmptySubobjectMap::getFieldOffset (this=0x7fffffff9b30, Layout=...,
FieldNo=13)
at
/home/joerg/work/LLVM/llvm/tools/clang/lib/AST/RecordLayoutBuilder.cpp:97
#5 0x0000000001cc3051 in (anonymous
namespace)::EmptySubobjectMap::CanPlaceBaseSubobjectAtOffset
(this=0x7fffffff9b30, Info=0x7063d40, Offset=...)
at
/home/joerg/work/LLVM/llvm/tools/clang/lib/AST/RecordLayoutBuilder.cpp:268
#6 0x0000000001cc33a8 in (anonymous
namespace)::EmptySubobjectMap::CanPlaceBaseAtOffset (this=0x7fffffff9b30,
Info=0x7063d40, Offset=...)
at
/home/joerg/work/LLVM/llvm/tools/clang/lib/AST/RecordLayoutBuilder.cpp:329
#7 0x0000000001cc58f5 in (anonymous
namespace)::RecordLayoutBuilder::LayoutBase (this=0x7060910, Base=0x7063d40)
at
/home/joerg/work/LLVM/llvm/tools/clang/lib/AST/RecordLayoutBuilder.cpp:1135
#8 0x0000000001cc5127 in (anonymous
namespace)::RecordLayoutBuilder::LayoutNonVirtualBase (this=0x7060910,
Base=0x7063d40)
at
/home/joerg/work/LLVM/llvm/tools/clang/lib/AST/RecordLayoutBuilder.cpp:1005
#9 0x0000000001cc4fed in (anonymous
namespace)::RecordLayoutBuilder::LayoutNonVirtualBases (this=0x7060910,
RD=0x6dd2e90)
at
/home/joerg/work/LLVM/llvm/tools/clang/lib/AST/RecordLayoutBuilder.cpp:976
#10 0x0000000001cc5c43 in (anonymous namespace)::RecordLayoutBuilder::Layout
(this=0x7060910, RD=0x6dd2e90)
at
/home/joerg/work/LLVM/llvm/tools/clang/lib/AST/RecordLayoutBuilder.cpp:1190
#11 0x0000000001cc86d4 in clang::ASTContext::getASTRecordLayout
(this=0x3d7b440, D=0x6dd2e90)
at
/home/joerg/work/LLVM/llvm/tools/clang/lib/AST/RecordLayoutBuilder.cpp:1859
#12 0x0000000001419459 in (anonymous namespace)::CGRecordLayoutBuilder::Layout
(this=0x7fffffff9c60, D=0x6dd2e90)
at
/home/joerg/work/LLVM/llvm/tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:201
#13 0x000000000141bced in clang::CodeGen::CodeGenTypes::ComputeRecordLayout
(this=0x3da0a30, D=0x6dd2e90, Ty=0x6fac790)
at
/home/joerg/work/LLVM/llvm/tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:930
#14 0x00000000013222bf in clang::CodeGen::CodeGenTypes::ConvertRecordDeclType
(this=0x3da0a30, RD=0x6dd2e90)
at /home/joerg/work/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp:602
#15 0x000000000132228b in clang::CodeGen::CodeGenTypes::ConvertRecordDeclType
(this=0x3da0a30, RD=0x6dd9f50)
at /home/joerg/work/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp:597
#16 0x000000000132228b in clang::CodeGen::CodeGenTypes::ConvertRecordDeclType
(this=0x3da0a30, RD=0x6ddbce0)
at /home/joerg/work/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp:597
#17 0x000000000132228b in clang::CodeGen::CodeGenTypes::ConvertRecordDeclType
(this=0x3da0a30, RD=0x6e67010)
at /home/joerg/work/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp:597
#18 0x000000000132147a in clang::CodeGen::CodeGenTypes::ConvertType
(this=0x3da0a30, T=...)
at /home/joerg/work/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp:288
#19 0x0000000001320c94 in clang::CodeGen::CodeGenTypes::ConvertTypeForMem
(this=0x3da0a30, T=...)
at /home/joerg/work/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp:85
#20 0x00000000013217e5 in clang::CodeGen::CodeGenTypes::ConvertType
(this=0x3da0a30, T=...)
at /home/joerg/work/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp:388
#21 0x0000000001320c94 in clang::CodeGen::CodeGenTypes::ConvertTypeForMem
(this=0x3da0a30, T=...)
at /home/joerg/work/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp:85
#22 0x0000000001450919 in clang::CodeGen::CodeGenFunction::ConvertTypeForMem
(this=0x7ffffffface0, T=...)
at
/home/joerg/work/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:49
Input is attached, "clang -c" is enough.
--
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