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

    <tr>
        <th>Summary</th>
        <td>
            [compiler-rt][nsan] Add an option to control whether to check comparisons or not.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            good first issue,
            compiler-rt:nsan
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          alexander-shaposhnikov
      </td>
    </tr>
</table>

<pre>
    There are a few different potential approaches.
It might be easier to start with simply extending ```NSAN_OPTIONS``` with ```check_cmp``` and return early if ```fCmpFailFT``` is false.
This is suboptimal in terms of performance, but might be more convenient / flexible.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxMUtFugzoM_ZrwYrWCAC088NCtQtrLdqX1fQrBIb4LCUpMt_39Fd3uOilRFMfnxD4-KiWaPGIn6gdRnzO1sg2xUw4_lR8x7pJVS0jW03u4ZkMYv7qLxYigtg0GP2AkYzCiZ1gCo2dSDtSyxKC0xbQX-VnkpyeGmSbLMCCgSoQROEBiFRk-iC0kmhf3BfjJ6EfyE4hD_r2eX0_Pby__XJ5enl9_g9-g36u2qN_f9LzcE5QfISKv0QOq6L6AzD3fPM5Lr8j1lzuAEhjlEv5UfLGUtlhah7AwzcoBeWCMc4JgYMFoQpyV1yjkIwzrnwbnEBF08Ff0tOkiZA_G4ScN7n_2bOzKsS1blWFXHOWhONSNLDPblYdaN6Y1w4h4PORYNU1ZlHU76KZuxkOVUSdzWeVtIYumzIt2Pw5Gtsda67rRKj9WospxVuT2zl3nfYhTRimt2BV5U5V15tSALt3mLeUUwgiGYmK4JQkphXwUUuowL-Qw7iKL8uST8ttTfc5it9HuhnVKosodJU73j5jY3az0F16fRf1wY6jPcBpHUB42RYPfLKCD5xgcfFhk--2K2zBho1CRUvAJQgQfeJ-t0XWWeUmiPAnZC9lPxHYd9jrMQvZbHT_HbonhX9QsZH9rLAnZ_whw7eR_AQAA__-96PWJ">