<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/100305>100305</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[nsan] Add support for nan detection
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
alexander-shaposhnikov
</td>
</tr>
</table>
<pre>
Currently the check
https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/nsan/nsan.cpp#L446
is structured in such a way that it doesn't fire on NaNs.
Perhaps, it'd be reasonable to flip the default behavior (and preserve the old one under an option).
This will enable us to use nsan as a "nan-checker".
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUUruS2zAM_BqqwdhDQZQfhYrL3ajK3KTID0AibDFHkxyC9OX-PiPZmdSpUCyJXewuibhrYB5U_031bw3VssQ8kOffFCznnSyUoizBfcR7M0X7NbzWnDkU_wVlYZgXnj9A6TelX5ZSkqjuReGocLy6stRpP8ebwtH7-9-xSzn-4rkoHCcfJ4XjjVxQOM7xlpznvMsr5t0KBaHwHPs5JYXdd2MODzonICXXudTMFlwAqfMCBJ-0SqMCroCNLEHhscDFZYYY4J3eZf9Y8IPzQkkUvoIrCo8WJobMJDHQ5BlKhIt3abvT8oWqLzDxQncXMyg8UbCQMgvnO2-PorcQA0NdrQMKEFNxMSg8Pxl_Lk7g03kP_KCosrJUYVhPBBIgUIiBwm5zlrNCfH5u7NDZc3emhof2iO1Jt70xzTJ0NE_Y9afpcJgZbWvOx46NMdix5ovFxg2o0egjGn1oEc1-4hORbrvWtGfT0kkZzTdyfr8GtI_52jiRykOrdaf7xtPEXraOIAb-hA1ViGtl8rClOtWrKKO9kyL_1hRX_FauLcj-DV6sBakpxVzgEjMECmC58Lwa1dTsh_9u0SZGFI5PtfcB_wQAAP__osrsaA">