From a69bbe02a2352271e8b14542073f177e24c499c1 Mon Sep 17 00:00:00 2001 From: Lawrence D'Anna Date: Tue, 29 Oct 2019 13:42:38 -0700 Subject: [LLDB][breakpoints] ArgInfo::count -> ArgInfo::max_positional_args Summary: Move breakpoints from the old, bad ArgInfo::count to the new, better ArgInfo::max_positional_args. Soon ArgInfo::count will be no more. It looks like this functionality is already well tested by `TestBreakpointCommandsFromPython.py`, so there's no need to write additional tests for it. Reviewers: labath, jingham, JDevlieghere Reviewed By: labath Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D69468 --- lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp') diff --git a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp index 66b5ff8..2ac631e 100644 --- a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp +++ b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp @@ -59,7 +59,7 @@ extern "C" void init_lldb(void) {} #define LLDBSwigPyInit init_lldb #endif -extern "C" bool LLDBSwigPythonBreakpointCallbackFunction( +extern "C" llvm::Expected LLDBSwigPythonBreakpointCallbackFunction( const char *python_function_name, const char *session_dictionary_name, const lldb::StackFrameSP &sb_frame, const lldb::BreakpointLocationSP &sb_bp_loc, -- cgit v1.1