[Lldb-commits] [libcxxabi] [lldb] [llvm] [lldb] Add frame-format option to highlight function names in backtraces (PR #131836)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 11 04:53:43 PDT 2025
================
@@ -2074,6 +2076,64 @@ static const Definition *FindEntry(const llvm::StringRef &format_str,
return parent;
}
+/// Parses a single highlighting format specifier.
+///
+/// Example syntax for such specifier:
+/// \code
+/// ${function.name-with-args:%highlight_basename(ansi.fg.green)}
----------------
labath wrote:
Does the setting affect the format of the whole frame, or just the function name. Because if it's the latter (which I also think would be a better design), then it probably should be called something else... `function-format`, `function-name-format`, ... ?
https://github.com/llvm/llvm-project/pull/131836
More information about the lldb-commits
mailing list