================
@@ -154,6 +154,8 @@ struct SanitizerKind {
 #include "clang/Basic/Sanitizers.def"
 }; // SanitizerKind
 
+using SanitizerMaskCutoffs = std::array<float, SanitizerKind::SO_Count>;
----------------
vitalybuka wrote:

I was thinking what could be  a better implementation to store values. I can be 
different depending how use those constants.

Let's create a special class for there. 
Maybe SanitizerMaskCutoffs?
and put array and NoSanitizeTopHot into that.


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