[LLVMbugs] [Bug 10505] New: Assertion failed: (FieldNo < FieldCount && "Invalid Field No"), function getFieldOffset, file /usr/home/rdivacky/llvm/tools/clang/lib/AST/../../include/clang/AST/RecordLayout.h, line 121.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 26 14:28:34 PDT 2011


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

           Summary: Assertion failed: (FieldNo < FieldCount && "Invalid
                    Field No"), function getFieldOffset, file
                    /usr/home/rdivacky/llvm/tools/clang/lib/AST/../../incl
                    ude/clang/AST/RecordLayout.h, line 121.
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


pes delta-2006.08.03$ clang++ RenderSlider-E.cpp
RenderSlider-E.cpp:53:23: warning: control reaches end of non-void function
[-Wreturn-type]
                      }
                      ^
Assertion failed: (FieldNo < FieldCount && "Invalid Field No"), function
getFieldOffset, file
/usr/home/rdivacky/llvm/tools/clang/lib/AST/../../include/clang/AST/RecordLayout.h,
line 121.
Stack dump:
0.      Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.2 -emit-obj -mrelax-all -disable-free -main-file-name
RenderSlider-E.cpp -mrelocation-model static -mdisable-fp-elim -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version
2.15 -momit-leaf-frame-pointer -resource-dir /usr/local/bin/../lib/clang/3.0
-fdeprecated-macro -ferror-limit 19 -fmessage-length 152 -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-x02eo7.o
-x c++ RenderSlider-E.cpp 
1.      <eof> parser at end of file
2.      RenderSlider-E.cpp:94:45: LLVM IR generation of declaration 'WebCore'
3.      RenderSlider-E.cpp:106:51: Generating code for declaration
'WebCore::RenderSlider::forwardEvent'
4.      RenderSlider-E.cpp:106:78: LLVM IR generation of compound statement
('{}')
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal 2 (use -v to see
invocation)

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