Skip to content

Verifier allows invalid aliases #2516

@llvmbot

Description

@llvmbot
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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions