[clang] [clang][CodeGen] Added SanitizerHandler mapping, trap messages in debug info, and corresponding test cases. (PR #143758)

Michael Buch via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 13 01:16:23 PDT 2025


================
@@ -4041,7 +4133,8 @@ void CodeGenFunction::EmitUnreachable(SourceLocation Loc) {
 
 void CodeGenFunction::EmitTrapCheck(llvm::Value *Checked,
                                     SanitizerHandler CheckHandlerID,
-                                    bool NoMerge) {
+                                    bool NoMerge, StringRef Annotation,
+                                    StringRef TrapMessage) {
----------------
Michael137 wrote:

`TrapMessage` parameter seems unused?

https://github.com/llvm/llvm-project/pull/143758


More information about the cfe-commits mailing list