<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58466>58466</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
llvm 14 registered more than once
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
MacChen02
</td>
</tr>
</table>
<pre>
I use clang.so.11 compile the cpp code to IR code, then (llvm 11) JIT it to exe code, it's ok.
But when upgrade the version of llvm 11 & clang 11 to llvm 14 & clang 14, get the error log :
**CommandLine Error: Option 'xcore-max-threads' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options**
I found the 'xcore-max-threads' in libclang-cpp.so.14, not in libclang-cpp.so.11.
How to fixed it ?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx1UsFuozAQ_Rq4WEHYEIccOLRpo80qVaVotXdjBvCusZFt2vTvdwzpbg5byQJ7Zvzem-dpbPtRn8jsgUgtTJ95m1FKpB0npYGEAQiR04SBFnfBktNl2SfsEJOGJKzS-m0klCZsT76ffhAVYh1c4W-hCgnbeWJ_Z0n-lOQPj3Mg7_HyPPVOtCvNGzivrCG2IzdAxOarqnhAzDVe3sfLiN9DWCDAOeuItj1JioeV6vZlcR3sOArTnpUB8hxLsYq8TiGyosCrtA42o7huwuBAtB5jxEGvfAAHLRkxjTQCJRqJfdEV-3z--UKeL5fXS4RTRlrj4xUjP_B0D3DPbxdavwq7l3oinZ1Nu_TzlSiE1apZHNjg4yxvthhhbPhvkt6M_2bfo4-duqIcfKekOK6JFGrKOacVY9U-beui3Rd7kQYVNNSftn_pRTo7XQ8hTD76zo64ehWGuclwjvAQAW6_zeTsL5A4EEfl_QzYz3FblZynQ80lk7ItizaX0BTQiS5nvOwocC5pBbtUiwa0r5PtY7J9SlXNcsZoTveUsbLcZxWtqnLHadFhEw0vkjKHUSidReLMuj51Sy-bZu49JjV24_8lhfeqNwCf-GIOg3X1i5AHnNWcpYvgelH7B38qBIs">