[compiler-rt] [compiler-rt][nsan] Add support for nan detection (PR #101531)

Dmitry Chestnykh via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 23:18:51 PDT 2024


================
@@ -47,3 +47,5 @@ NSAN_FLAG(bool, enable_loadtracking_stats, false,
           "memory, the number of times nsan resumed from the original value "
           "due to invalid or unknown types.")
 NSAN_FLAG(bool, print_stats_on_exit, false, "If true, print stats on exit.")
+NSAN_FLAG(bool, check_nan, false,
----------------
chestnykh wrote:

Probably true by default, i dont think anyone want see nans in the program

https://github.com/llvm/llvm-project/pull/101531


More information about the llvm-commits mailing list