Closed Quuxplusone closed 12 years ago
Attached unsized.tar.gz
(1253 bytes, application/octet-stream): more .ll files
Polygen strikes again! (I assume :-))
This sort of thing happens because llc can't handle all 'valid' .ll files.
This is a result of a somewhat nice but admittedly questionable design decision: we allow some types that "should" be concrete for a program to make sense to be abstract. This allows someone to later define the type (e.g. by llvm-link'ing in another .bc file) allowing some interesting separation of concerns.
I think we should close this as behaves correctly, because I don't think we want to give this up. It would be nice for llc to generate a better error message though. What do you think?
A specific use case is listed here:
http://nondot.org/sabre/LLVMNotes/MSILObjectModel1.txt
Search for 'opaque'.
Fixed by the type system rewrite.
unsized.tar.gz
(1253 bytes, application/octet-stream)