Skip to content

[Feature request] clang ability to load plugin by name instead of full path #156821

@d-musique

Description

@d-musique

Hi. The option -fplugin of clang only accepts full paths.
However under gcc, one is able to load a plugin by just -fplugin=annobin.

If there were such an option and a standard installation scheme for plugins, a cmake build system could easily check availability of optional plugins by checking CXX flag -fplugin=annobin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl'enhancementImproving things as opposed to bug fixing, e.g. new or missing feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions