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

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 22 14:23:44 PDT 2024


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

OK, I'll make it a parameter then.

I added macro `CLANG_VERBOSE_TRAP_PREFIX` to `ModuleBuilder.h` so that lldb wouldn't have to define it too. See https://github.com/llvm/llvm-project/pull/80368#discussion_r1481781470.

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


More information about the cfe-commits mailing list