[clang] [clang][CodeGen] Added SanitizerHandler mapping, trap messages in debug info, and corresponding test cases. (PR #143758)
Dan Liew via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 23 07:29:15 PDT 2025
================
@@ -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
More information about the cfe-commits
mailing list