<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/156821>156821</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [Feature request] clang ability to load plugin by name instead of full path
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          d-musique
      </td>
    </tr>
</table>

<pre>
    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`.

</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8Ur9yozwQfxrR7Ngjy2DjgiJfMp58_RVpF2kBJYvkaCVn_PY3EPsy11wDhaTffxTxYyDqVPOfal4qLHmKqXObuYj_LFT10d26V7-FXxNBvGQfA6iD3gwXLqMP6qAhDmAZwwgx8A3QWrpkgaEwwwXzJFuln17jF10pQQmOEozWKvMMMRB4AeyZIEfgiA4QvoGhv8F7kfwX2f4FQ4j9SrugKv30_wB5okTwtXyk2AkwPIRiWAAlY3CYHPggGZlxPRM70UwwxHRnlEUSgp3xg6Avnh3ITTLNYGNhB4Ti-QZ2IvsBeEXP2Hv2-bYE8E2I_MBa5K83fRjh-e0NBsbxn14q1-3daX_CirrdsTmcjvu61tXUDW1vbUunI7mDrpFoaLW2dXvCAx7JNpXvjDaNPulatztd6621O2ptgxob0jU5VWua0fOW-TpvYxorL1Ko2zWH1uwqxp5Y1gUYszapjFnGkLrlwaYvo6has5csPxDZZ15ncybMJREk-iwkWTUv9zk84nlU-1NswJnWNgjdkt6frVQlcTflfBG1f1LmrMx59Hkq_dbGWZnzwn7_bS4pvpPNypxXN6LM-W7o2pnfAQAA__-hofR_">