================
@@ -85,6 +85,92 @@ enum VariableTypeDescriptorKind : uint16_t {
// Miscellaneous Helper Methods
//===--------------------------------------------------------------------===//
+static llvm::StringRef GetTrapMessageForHandler(SanitizerHandler ID) {
----------------
delcypher wrote:
We should probably rename this function to mention UBSan in its name given that
the current intention is to only handle UBSan traps. E.g.
`GetUBSanTrapForHandler(SanitizerHandler ID)`
https://github.com/llvm/llvm-project/pull/143758
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits