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

    <tr>
        <th>Summary</th>
        <td>
            [asan][StackSafety] Custom poisoning is no-op with -asan-use-stack-safety=1
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            compiler-rt:asan,
            llvm:optimizations
      </td>
    </tr>

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

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

<pre>
    Stack safety does not take into account that we can partially poison alloca.
This may remove mem access instrumentation and not detect bugs detectable with -asan-use-stack-safety=0.

TODO: add example
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyEkc1upDAMx58mXCxGEL4PHKZFc-2h-wImuEO2-UDYTHf26VdQpB73lCiR_bd_P2S290DUq-pFaf2wgu45bp-otFbVkOAmc1z7n_dkjNOzfxc0n8D4QfKEKRJDiAKCnwQ2SAQ0Jm5BQGYU-CIwGGDBVSw694QlWo4B0Llo8KKyQWXXX7Nl8PiElXx8EHjyexdiBhtY1s1TEBS714XpiJtIyAiM253PO46O4MvKDCkyhnRjSnkfNf0eVRVDduadqW_DmyqugNME9Af94iiZ-mLqig4T6vNG511R1WWdzH2ZfzQ1mqYdc8q7JmtNWzSTbqtCT3VJY2J7nekya3SVd7rR-lK31dSOdWXa2lBHhSoz8mjdxbmHv8T1nljmjfo8y-oySxyO5Pg0YaJfrKM1XUUV132b3Yh-VVrv1aq4xkWst38PJnzqWvv9M92RqDJzloV_wsSKO0Qf3apBVS-Hx_dvNtUArxtL9KcfG-5gd7FpXP4DNU-21fWzyMKquCp9U_p2tzJv48VEr_TtGPn7SJc1_iYjSt-O7Vnp2wng0et_AQAA___wVtiu">