================
@@ -44,6 +92,19 @@ void clang::serializeSanitizerSet(SanitizerSet Set,
 #include "clang/Basic/Sanitizers.def"
 }
 
+void clang::serializeSanitizerMaskCutoffs(
+    const SanitizerMaskCutoffs &Cutoffs, SmallVectorImpl<std::string> &Values) 
{
+#define SANITIZER(NAME, ID)                                                    
\
+  if (auto C = Cutoffs[SanitizerKind::SO_##ID]) {                              
\
+    llvm::APFloat F(*C);                                                       
\
----------------
thurstond wrote:

I agree floating-point is ugly (especially with imprecision), but a range of 
[1,1000000] feels too arbitrary. I suspect we'd get a lot of confused users 
putting in a value of 1 and getting the opposite result.

https://github.com/llvm/llvm-project/pull/121619
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to