[LLVMbugs] [Bug 8807] New: Assertion failed: (Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Dec 18 02:12:45 PST 2010


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

           Summary: Assertion failed: (Ty->isSized() && "Cannot
                    getTypeInfo() on a type that is unsized!")
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: pawel.worach at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5906)
 --> (http://llvm.org/bugs/attachment.cgi?id=5906)
gboxed.bc

This happens when building glib20 on FreeBSD/i386 with llvm/clang r122130.

% opt -O1 gboxed.bc 
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.

Assertion failed: (Ty->isSized() && "Cannot getTypeInfo() on a type that is
unsized!"), function getTypeSizeInBits, file
/data/buildslave/freebsd-clang-i386/src-llvm/lib/Target/TargetData.cpp, line
447.
Stack dump:
0.    Program arguments:
/data/buildslave/freebsd-clang-i386/obj/obj-llvm.2/Release+Asserts/bin/opt -O1
gboxed.bc 
1.    Running pass 'CallGraph Pass Manager' on module 'gboxed.bc'.
2.    Running pass 'MemCpy Optimization' on function '@g_closure_get_type'
Abort (core dumped)

Attempting to bugpoint results in broken module.

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