<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/62125>62125</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
opt: CommandLine Error: Option 'non-global-value-max-name-size' registered more than once!
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
FlowHero
</td>
</tr>
</table>
<pre>
When trying to use my pass
opt -load /home/kali/Documents/llvm-project/llvm/build/lib/LLVMInsertPrintFunction.so -InsertPrintFunction < main.ll > main_modified.ll
i get the following error :
opt: CommandLine Error: Option 'non-global-value-max-name-size' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: opt -load /home/kali/Documents/llvm-project/llvm/build/lib/LLVMInsertPrintFunction.so -InsertPrintFunction
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzEU81unDAQfhpzGYHAwG72wGGbLGqlrRIlUnusbDwLbmwP8k_S7dNXsFESVT310HLCg5n5_kaEoEeH2LH2A2tvMpHiRL7rDT1_RE-ZJHXuvk7oIPqzdiNEghQQ7BlmEQIrb1i5pzlCbkgoYLyfyCLj_aMwmvH-hoZk0cXAeG_Mk81nT99xiC9HxnuZtFHLUUvG--Pxy-dPLqCPd1672Cc3RE2uCAT5H-rA6muwQrvCGGD1YX3_Zknpk0a1FleEoGHECHFCOJEx9LxQQe_JA7B6f7n0SobVe7gma4VTR-0QDsvFpXg7X4byrSOXj4akMPmTMAlzK37kTljMg_6JjG_B46hDRI8KLHmEOAkH5AZkvLpMWrjC4f7-9n7prd1ALiy_uOEM2r1v8B4MrRhelL87HvYPBwhJWh1BgEwjeJzJx8WoKcY5LPR4z3g_6jglWQxk38T_zRIdQsLFKhBOLYhMUriqNngRJpBieIxeDFhcxj9EMTyCSnZ-FbEsYH3uPI1eWBB-fAlAvYf_F5T3Dmeqq9Wu3okMu2pzVTUt57zNpq7ayWp7GpTaXm1Ou2pTDeXmJKS62vC22Z6qTHe85HXZVE25KeumLSopS75tWmyU2p2wYk2JVmhTLJgL8mO2StpteMXbzAiJJqyrxrnDZ1g_Ms6XzfPdSlumMbCmNDrE8NYl6miw-xfRzJI33d8HZyX6KwAA__8Z1G9g">