-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Description
Bugzilla Link | 3283 |
Resolution | FIXED |
Resolved on | Jul 11, 2011 10:24 |
Version | unspecified |
OS | Linux |
Attachments | more .ll files |
CC | @lattner,@sunfishcode,@nlewycky |
Extended Description
With SVN r61805 I run:
$ llvm-as <tst.ll >x.bc && llc x.bc -f
I get this:
llc: TargetData.cpp:468: unsigned char llvm::TargetData::getAlignment(const llvm::Type*, bool) const: Assertion `Ty->isSized() && "
Cannot getTypeInfo() on a type that is unsized!"' failed.
0 llc 0x0000000000c2dd1f
1 libc.so.6 0x00007fd7d0afcf60
2 libc.so.6 0x00007fd7d0afced5 gsignal + 53
3 libc.so.6 0x00007fd7d0afe3f3 abort + 387
4 libc.so.6 0x00007fd7d0af5dc9 __assert_fail + 233
5 llc 0x0000000000b5ee5e llvm::TargetData::getAlignment(llvm::Type const*, bool) const + 222
6 llc 0x0000000000718e76
7 llc 0x000000000071a4d9
8 llc 0x0000000000bc2ff6 llvm::FunctionPassManager::doFinalization() + 198
9 llc 0x0000000000500618 main + 4216
10 libc.so.6 0x00007fd7d0ae91a6 __libc_start_main + 230
11 llc 0x00000000004feae9 std::ios_base::Init::~Init() + 57
Aborted
This is either a bug in llvm-as (for accepting invalid bitcode), or a bug in llc, this is the .ll file:
hidden thread_local addrspace(39) constant opaque undef