[Lldb-commits] [lldb] [lldb] Support frame recognizer regexp on mangled names. (PR #105756)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 23 02:28:35 PDT 2024


================
@@ -927,6 +928,32 @@ class CommandObjectFrameRecognizerClear : public CommandObjectParsed {
   }
 };
 
+static void
+PrintRecognizerDetails(Stream &strm, const std::string &module,
+                       llvm::ArrayRef<lldb_private::ConstString> symbols,
+                       Mangled::NamePreference preference, bool regexp) {
+  if (!module.empty())
+    strm << ", module " << module;
+  for (auto &symbol : symbols) {
----------------
Michael137 wrote:

We could be fancy and use an `llvm::interleaveComma` here

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


More information about the lldb-commits mailing list