<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/100123>100123</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Dynamic asan tests don't find libclang_rt.asan.so
</td>
</tr>
<tr>
<th>Labels</th>
<td>
compiler-rt,
compiler-rt:asan
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
rorth
</td>
</tr>
</table>
<pre>
The 32-bit dynamic asan unit tests `FAIL` to find `libclang_rt.asan.so` at runtime on Solaris/amd64:
```
AddressSanitizer-Unit :: ./Asan-i386-calls-Dynamic-Test/failed_to_discover_tests_from_gtest
AddressSanitizer-Unit :: ./Asan-i386-inline-Dynamic-Test/failed_to_discover_tests_from_gtest
```
The problem is that either or both of `LD_LIBRARY_PATH*` and the `RUNPATH` aren't set correctly for various reasons detailed in PR #100083.
I'd like the patch to go into the 19.x release once approved/committed to `main`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycU02L5DYQ_TXypbCRJX_MHHzwpjEZGMIyO3vIychSua1Elhqp3GTy64M8DQlLLgkYfzxV-b36eCole_WIA2u_sPZSqIO2EIcYIm3FEszH8L4hSFEulsB8eLVbDSopD4e3BISJErCOT-PLK-s4UIDVepMhZxftlL_OkaqcUaWQIxRBPDzZHSF4-BacijYxManddA2TI-MXxkfW8cd1fgKMxkRM6ZvyluyfGMvvmT_HyxEqJqYxKV9a-dSVWjmXysun2PIdEzExrco6NDOF2dikwx3jfIqf1xj2-ZrfH1T_gcl6Zz3-b6ofisydvsWwONzBJqBNEaClDSOECEugDcKaO_t6mV9fvryNb7_OX8f3n5kYz8Z6A7RhDnj7_st5kNGInomeICGBDjGiJvcBa4hwV9GGI0FElYJPYJBO5WA9fH0DJmTNOX-S1UPteX9hojfg7O94kt0U6S1P_RrAegonWD9Xf0BEhyrlIWsEdbvFcEfDxKTDvlsiNDmLdXxX1rOOV4UZpHmWz6rAoe5F3TdCtm2xDdo89SixrUUnl1W3qJ8ECtH0XSv0KmVhB8FFw3sha9m0bVtx7Bfer_Xzahrd9wtrOO7Kusq5-16FeC1sSgcONee1kIVTC7p0OkAIHfabdRjLSEwIJn76AZNj3uV81F6KOOQ_lstxTazhziZKf3OQJYfD5Z-e-bSLCZ8TOY3yLy4pjuiGjeiW8tKJiYnpamk7lkqHnYkpMzwe5S2G31DnrTtLykZ6VHUfxF8BAAD__7NXPoY">