================
@@ -85,6 +85,96 @@ enum VariableTypeDescriptorKind : uint16_t {
 //                        Miscellaneous Helper Methods
 //===--------------------------------------------------------------------===//
 
+static llvm::StringRef GetUBSanTrapForHandler(SanitizerHandler ID) {
----------------
delcypher wrote:

Yes but with the caveat that  `SanitizerHandler::BoundsSafety` will need 
special handling because we don't want to emit a trap reason for that one 
because that's the value reserved for `-fbounds-safety` that handles it's trap 
reasons differently from the rest of UBSan.

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

Reply via email to