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

David Blaikie via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 22 13:59:28 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:

I think I agree with https://github.com/llvm/llvm-project/pull/79230/files#r1529429173 then - the prefix should be a parameter and I don't think it needs to be a #defined constant (CLANG_VERBOSE_TRAP_PREFIX) - and can instead be written as a literal in the caller in CGBuiltin.cpp?

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


More information about the cfe-commits mailing list