Skip to content

MPPassManager::addLowerLevelRequiredPass may crash #11056

@llvmbot

Description

@llvmbot
Bugzilla Link 10684
Resolution FIXED
Resolved on Oct 10, 2011 11:19
Version trunk
OS Windows XP
Reporter LLVM Bugzilla Contributor

Extended Description

the call 'FPP->add' in line 1635 (revision 137072 of lib/VMCore/PassManager.cpp) may destroy the 'RequiredPass' if such a Pass is already scheduled. This results in a dangling pointer of 'RequiredPass' which is added to the LU container in line 1639. Finally this leads to a core dump.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions