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

Dan Liew via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 18 16:17:54 PDT 2024


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

@dwblaikie We currently use this function for `-fbounds-safety` internally. We are currently in the process of upstreaming this which is why the function should **not** hardcode the `Prefix`.

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


More information about the cfe-commits mailing list