<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/67026>67026</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
A Question About 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>
lknt
</td>
</tr>
</table>
<pre>
https://llvm.org/docs/WritingAnLLVMPass.html
In the 'Running a pass with opt' section of this webpage, I just can't figure out what's wrong with a certain command.
```
~/mybuilddir$ opt -load lib/LLVMHello.so -hello < hello.bc > /dev/null
The `opt -passname` syntax for the new pass manager is not supported, please use `opt -passes=<pipeline>` (or the `-p` alias for a more concise version).
See https://llvm.org/docs/NewPassManager.html#invoking-opt for more details on the pass pipeline syntax.
```
how should I modify it?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyEU82OmzAQfprhMgoiNpDkwCHdXdSVdqv-qT3bMAHvGhsxJmkuffbKhFXVqlIlBMaWv_l-ZhSz6RxRBcU7KO4TNYfeT5V9dSHRvr1WfQgjgzyCqEHU1p6H1E8diLr1DYOov08mGNcd3dPTt-ePijntw2Ahu4fs-Ogw9IQgdp9n54zrUOGomPFiQo9-DCB2yNQE4x36E4beMF5Ij6ojEHf4iC8zB2yUA7ELeDLdPBH6OeClV_Ey42XyrrvhKWxoCso4bPwwKNemNxbru8zWZ_n9CaIerno2tm3NBCKPdHBjvWrRGg2ijnrek7U-ZY-bPq4Q5B0uq1Q3CPIBow90BlG72a6iv0bFZbbARbFODQRlhnx1Qf3Ak58WUxxdbl4MyqmOJjSMzgfkeRz9FKiNBoyWFBPO_CckMch7kHejGckaRyAfYgUQ-xUcymwzxi1ljeKlpsLBT4SNd41hwjNNbLwDcVhd-kKE_8v6A11iws83xreghTTu7F-N6zaRXyy1FGopKGMZ_a0HFqlvfFcv0n8m0_sLcu9n2-IjDr41pyuaALK-HSdtJduDPKiEqm15KGS2L2SR9FWhZK7bfS7LUiuSOelin9MuF0Wpc73VialEJmR2ENttkYltker2oA65LKkpKd9tT5BnNChj0zfliWGeqSp3mSgTqzRZXuZEiJjecghCxLGZqnhno-eOIc-s4cC_UYIJlqojfpqJl1Y_6tjD6-Sgchh7DaO1yTzZv0auM6Gfddr4Yc1k_WzGyb9QE0DUC5MY0ML0VwAAAP__eGE7Dw">