[Lldb-commits] [lldb] 5a3c657 - Fix after 738af7a6241c98164625b9cd1ba9f8af4e36f197

Adrian McCarthy via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 25 15:59:30 PDT 2019


Author: Adrian McCarthy
Date: 2019-10-25T15:57:52-07:00
New Revision: 5a3c657f3e8fe83ed5074edee94fb2303cd5fa2e

URL: https://github.com/llvm/llvm-project/commit/5a3c657f3e8fe83ed5074edee94fb2303cd5fa2e
DIFF: https://github.com/llvm/llvm-project/commit/5a3c657f3e8fe83ed5074edee94fb2303cd5fa2e.diff

LOG: Fix after 738af7a6241c98164625b9cd1ba9f8af4e36f197

Default implementation of a new virtual method wasn't returning a value.

Added: 
    

Modified: 
    lldb/include/lldb/Interpreter/ScriptInterpreter.h

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/Interpreter/ScriptInterpreter.h b/lldb/include/lldb/Interpreter/ScriptInterpreter.h
index 2213274f1dbf..69af88091a40 100644
--- a/lldb/include/lldb/Interpreter/ScriptInterpreter.h
+++ b/lldb/include/lldb/Interpreter/ScriptInterpreter.h
@@ -323,7 +323,11 @@ class ScriptInterpreter : public PluginInterface {
   SetBreakpointCommandCallbackFunction(
       BreakpointOptions *bp_options,
       const char *function_name,
-      StructuredData::ObjectSP extra_args_sp) {}
+      StructuredData::ObjectSP extra_args_sp) {
+    Status error;
+    error.SetErrorString("unimplemented");
+    return error;
+  }
 
   /// Set a one-liner as the callback for the watchpoint.
   virtual void SetWatchpointCommandCallback(WatchpointOptions *wp_options,


        


More information about the lldb-commits mailing list