-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed
Labels
Description
| Bugzilla Link | 2144 |
| Resolution | FIXED |
| Resolved on | Mar 22, 2008 03:38 |
| Version | trunk |
| OS | Windows XP |
| Attachments | fix and test case |
| Reporter | LLVM Bugzilla Contributor |
| CC | @asl |
Extended Description
The verifier check for aliases is not strong enough, in particular it does not check that the aliasee is a function or variable. Patch and test case attached.
I'm assuming that the (assembly language) documentation is correct and that aliases to aliases are illegal. However, there is an issue in that the documentation says that bitcasts of global values are legal. I think should be bitcasts of global variables or functions, but this is not reflected in my patch.