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

David Blaikie via cfe-commits cfe-commits at lists.llvm.org
Mon May 6 10:32:25 PDT 2024


================
@@ -27,6 +27,9 @@ namespace llvm {
   }
 }
 
+// Prefix for __builtin_verbose_trap.
+#define CLANG_VERBOSE_TRAP_PREFIX "__llvm_verbose_trap"
----------------
dwblaikie wrote:

& not sure it being a compile time constant regex is super important - the regex compilation probably dwarfs the string concatenation required to add the `^` and `:`? 

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


More information about the cfe-commits mailing list