[clang] Add support for builtin_verbose_trap (PR #79230)

David Blaikie via cfe-commits cfe-commits at lists.llvm.org
Mon May 13 12:30:37 PDT 2024


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

Eh, I'm not too fussed about the separator for the prefix (we control that) and category (will the category be user-visible? Like a warning group? Or is that only still an implementation detail/contract between DWARF producer and DWARF consumer? I thought it was more the latter/implementation detail? In which case we can say what characters are valid there, and I'd keep it pretty simple, like the warning group names - all lower, dash or underscore separated seems fine)

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


More information about the cfe-commits mailing list