Skip to content

How to pass addition arguments to llvm pass registered by new pass manager #56137

@LeoneChen

Description

@LeoneChen

When I use clang-13 -fpass-plugin to load pass, and use mllvm to provide addition arguments

image

Then I get error

image

But when I use clang-13 -flegacy-pass-manager -Xclang -load -Xclang to load it, everything is OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    llvm:corequestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions