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

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 20 13:33:15 PDT 2024


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

@dwblaikie what do you think? `-fbounds-safety` is currently being upstreamed and there is going to be another caller of the function in the not-too-distant future.

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


More information about the cfe-commits mailing list