[Lldb-commits] [lldb] [lldb-dap] Add an option to show function args in stack frames (PR #71843)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 9 13:16:39 PST 2023


================
@@ -87,8 +87,15 @@ class LLDB_API SBFrame {
   // display to a user
   const char *GetDisplayFunctionName();
 
+  /// Similar to \a GetDisplayFunctionName() but with function arguments and
+  /// their values inserted into the function display name whenever possible.
+  ///
+  /// \param[in] output
+  ///   The stream where the display name is written to.
+  void GetDisplayFunctionNameWithArgs(SBStream &output);
----------------
bulbazord wrote:

Should this return an `SBError`? How do I know what went wrong if this fails?

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


More information about the lldb-commits mailing list