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

    <tr>
        <th>Summary</th>
        <td>
            why libclang soname remains 13 without updating to latest LLVM version?
        </td>
    </tr>

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

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

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

<pre>
    It has been confusing when I keep seeing libclang.so soname remains to be 13 when buidling with llvm-14. This "clang/tools/libclang/CMakeLists.txt" doesn't update the soname "13",  or perhaps as its comment says "clang/tools/libclang/libclang.map" also needs updated.  

It is difficult for me to understand this comment in "clang/tools/libclang/CMakeLists.txt" which makes me feel this behavior is by design?

<pre><code>
# The SOVERSION should be updated only if a change is made to the libclang
# ABI, and when it is updated, it should be updated to the current
# LLVM_VERSION_MAJOR.
# Please also see clang/tools/libclang/libclang.map
set(CLANG_SONAME 13)
</code></pre>
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVU8tu2zAQ_Brpsoigh61YBx0cJy5c2HHRFLkGlLg22VCkIFJx_fdd0opTtIe2gCFRXHN2ZnbYGH6uNw4Es9AgamiNPoxW6iOcBH1u4BWxB4vot5RsWsX0MbEGrNGsQxiwY1JbcIbOQ1ZcjjWj5CqASCdAqbfuJpsl8E1IC1GeB5AoXztjlKX3Oy4tVzv2iltpnU3cD0f_BW7Q6ii_dTD2nDkEJ_C9O9Wzgh5RvgIwA_Q4CNZbIDXSWRLTdagdWHb-W9-rtI71vitTpFEjcju15QlAlN5H6fLyJNNIDJeHg2xH5eBA7YkR-TBqjoN1THOiKj9YSP3f2k9CtgI62rYe_ICoLpgNCvYmqaVfn4GjlUcdFetfGUbFqh8wKh5o0RoeVpdCXtAoEJ72zw9fnzb7R7DCjIr7CU5iwWh1BnkABq0gdugbdYwHgX4AV9pXxOXdxo_Byw4ZkMGgCc9XaOPPPhNcOw4DefSBtt0-714mei-75ef91-Sj-EUhs3iZEUUT_nWuAcAiWbtYbZePn16e9o_L3QP4DFVX0-jUu13h42JizOuCV0XFYiedwvokzlcTfr8M_hpQ8M04ZdbfBBKqSLF1QRq8UUSk8SOLx0HVwrneRgWpW9PvSIfHJqHgeAV0e6bXTT-Y79gS_7W0dkSvdT6bl2Us6qLMyypLD3OWlc08q24X6aIpZ8jbBUuzGcaKNahsHc3vKFkaTxAg_OWZ38eyztM8T4u8zNK0zPIkJTyeVyVbNEUzL9tolnpxKvE8EjMc46EOlJrxaKmoQmyvRWZ9IBFDO8JnI9kx1Fq2r2Ikx6oqDu3rQP8nUml49g">