================
@@ -3424,6 +3445,26 @@ llvm::DIMacroFile 
*CGDebugInfo::CreateTempMacroFile(llvm::DIMacroFile *Parent,
   return DBuilder.createTempMacroFile(Parent, Line, FName);
 }
 
+llvm::DILocation *CGDebugInfo::CreateTrapFailureMessageFor(
----------------
ahatanaka wrote:

I've updated the patch to pass a category string to the builtin. The artificial 
function name has the format `<prefix>:<category>:<message>` where `<prefix>` 
is always `__builtin_verbose_trap`.

We should probably use something other than `:` for the separator as users 
might want to use it in the category or message string (e.g., 
`boost::some_library_name`).

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

Reply via email to