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

    <tr>
        <th>Summary</th>
        <td>
            code fault in Writing an LLVM Pass
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          cyk2018
      </td>
    </tr>
</table>

<pre>
    https://llvm.org/docs/WritingAnLLVMNewPMPass.html#running-a-pass-with-opt
When I was trying this example, I find that the "%" in line 6 can not copy, it seems like "$" and "#" in the begining of line 1 and line 2. So may be you can update it.
Thank you.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcUsGOnDoQ_BpzaYFMAwNz4LDvjUZaaTdaKVH2bKDBzhgb4SYT_j4yM1GknGyrXdXVXaVCMJMjakX1n6guidpY-7Xt9xvKvEk6P-ytZl6CKF4EXgVerf05Z36dBF4H3weB18_VsHHTi3t7-_7-he4f7x8qhEzzbAUW6-accVOq0kWFkN4N69QvLORFyJdPTQ5e4a4C8LobNwFrE4B-qXmxJPB_eIXRuAFYKwbWBAJRYCUQwTiwxhGcoFcOnGfo_bJHjGEIRHMAa25PRBkRyg2PV_HER8KOJhMFgh8ffPnx77hiBl89zGqHjmD329FpWwbFBIazxwzftHK3WM2SoS2Gc3FWCbV5LSuJ9bkoE90WJXZVUw1qqLCWed70p7IZ6nPTUynLbkxMixJLmecoscK8zEbqK9WdurouihFLEqWkWRmb_Vl_YkLYqK3r5lQlVnVkw-EhoqM7HMU4anVJ1jZi0m6bgiilNYHDXxY2bKnt_UAwqs1y3MrTT1AOoqMQ3Uy21f4ThMmw3rqs9_MzFc8jXVb_g3oWeD1kxIgcMn8HAAD__6L8xM0">