[Lldb-commits] [clang] [lldb] [Clang][LLDB] Refactor trap reason demangling out of LLDB and into Clang (PR #165996)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Sat Nov 1 09:40:09 PDT 2025
================
@@ -120,6 +120,23 @@ CodeGenerator *CreateLLVMCodeGen(DiagnosticsEngine &Diags,
llvm::LLVMContext &C,
CoverageSourceInfo *CoverageInfo = nullptr);
+namespace CodeGen {
+/// Demangle the artificial function name (\param FuncName) used to encode trap
+/// reasons used in debug info for traps (e.g. __builtin_verbose_trap). See
+/// `CGDebugInfo::CreateTrapFailureMessageFor`.
+///
----------------
Michael137 wrote:
moving this into Clang makes sense to me, thanks!
https://github.com/llvm/llvm-project/pull/165996
More information about the lldb-commits
mailing list