Skip to content

Assertion failed: (Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"), function getTypeSizeInBits, file TargetData.cpp, line 421. #4013

@llvmbot

Description

@llvmbot
Bugzilla Link 3641
Resolution FIXED
Resolved on Feb 22, 2009 13:23
Version unspecified
OS FreeBSD
Attachments test case
Reporter LLVM Bugzilla Contributor

Extended Description

I hit this assertion when compiling the attached, this must be fairly new as I didnt hit this in the morning. I belive 24 hours old clang does not have this bug

witten /tmp# ccc -c -ffreestanding subr_prof.c
ccc: Unknown host 'freebsd', using generic host information.
Assertion failed: (Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"), function getTypeSizeInBits, file TargetData.cpp, line 421.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:codegenIR generation bugs: mangling, exceptions, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions