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

    <tr>
        <th>Summary</th>
        <td>
            Please backport "[clang-tools-extra] [clangd] Respect llvm_shlib_dir in tests" to 15.x
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clangd,
            release:backport
      </td>
    </tr>

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

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

<pre>
    ```
commit 77945a344c3dee3f9735744c8d4151ef2cec6a8d (HEAD -> main, origin/main)
Author: Michał Górny <mgorny@gentoo.org>
Date:   2022-10-03 09:59:34 +0200

    [clang-tools-extra] [clangd] Respect llvm_shlib_dir in tests
    
    Add llvm_shlib_dir to variables used in clangd test suite, consistently
    to how it is used in the test suites of clang, clang-tools-extra
    and a few other components.  This is necessary to ensure that
    the correct shared libraries are used when building clang standalone --
    otherwise, use_clang() sets LD_LIBRARY_PATH to the directory containing
    the earlier system installation of clang rather than the just-built
    library.
    
    Differential Revision: https://reviews.llvm.org/D135062
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytVE1vozAU_DVwsYiMbVI4cMhHu12pK1VVL3uKDH6Auw6ObNM0_34fkCbp7h5XssA2eN7MeOzKqlMZLem50W1EV7Xd73Ugd3eFyCQXouYKgDfFHc_ucJQrkWYpNKyGeilzRSKWP96vtiSJ-D3ZS91HbEOs0-3Ye5gnihl6NYTOuoivyA9ddzLaZFHOyLdow6M1d_2JRHyzby32IkFb6IO1C-taBJ7Xb2WAcTUhjDKWpDShnNACp7LxwQWSWVNGz0rmJ_5NomxdG9m3CSIan8BHcDLKtpd5NQ5ewB-gDsSY9_3Od0ZXO6Ud0T0J4IO_Qbv0Vkr9-Xuw5F06LSsDngwe1AgwF5lwiB80qkCPatt77QPKNKcrJK7v7JHgDujr-tDBzWJPbDNDTjB_CbtgyV4RSRo4EosIDivuD7bHgn5ByGuHBbD1UIP30p3G0tD7wWGtToYbSli9ts6N5vhOOuSEah2qRCo4nGkeO-hJNWijdN_OrIgPSEEarEmS5Ao4sTlqP9mAi3dnMTkmhXgInjxtd0_f1y-rl5-759Xr40htZIEGIwmLXNG8gNHCUl95gnRGo1R_Qmf36B1SMEYGbfuLa8TJyQ5UOVv7NviQjNRvRM8KT4t_bftWNw049FFLg7F51x7hx2B2IRw8djD42Bx-gaNfjAmZcswetinP6JKd8_l58GIo0-VSFKkQgsWq5KrghYyDDgbKZwPSA6lk_etgXcCIs_8SZ8ZGV9Ns8REPzpRfqbc6dEO1wMDgYEQ4v5KDs2-IikPt_QAI85DlaUbjrqwFo0UhcrlkijO2rBrVNLwSFUubAuoqNrIC40tkicXPRFEMZgBfDiadyOBT6SR0G-tyPOwppQifCsoWvMpFntWCpznjeabwrgC8ZszF59iVE9dqaD1-NHjIrpsQS-912wNMPBBfTpdSOd878aSqnCT9Bk-unEI">