================
@@ -378,3 +379,31 @@ clang::CreateLLVMCodeGen(DiagnosticsEngine &Diags,
llvm::StringRef ModuleName,
HeaderSearchOpts, PreprocessorOpts, CGO, C,
CoverageInfo);
}
+
+namespace clang {
+namespace CodeGen {
+std::optional<std::pair<StringRef, StringRef>>
+DemangleTrapReasonInDebugInfo(StringRef FuncName) {
----------------
delcypher wrote:
I called this "demangle" because the format we use in debug info is basically a
mangling scheme internal to Clang. It's true this is not a mangling scheme like
the Itanium ABI but it still seems like a kind of mangling.
I'm really not an expert on the terminology used inside Clang though so I'm
happy to defer to the preferred terminology used in Clang if there is one.
https://github.com/llvm/llvm-project/pull/165996
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits