[Lldb-commits] [lldb] 67782a0 - [lldb/bindings] Fix -Wformat after D88123

Fangrui Song via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 25 17:33:49 PDT 2020


Author: Fangrui Song
Date: 2020-09-25T17:33:12-07:00
New Revision: 67782a0f99c6a792c9d60267d42b21f7335814ba

URL: https://github.com/llvm/llvm-project/commit/67782a0f99c6a792c9d60267d42b21f7335814ba
DIFF: https://github.com/llvm/llvm-project/commit/67782a0f99c6a792c9d60267d42b21f7335814ba.diff

LOG: [lldb/bindings] Fix -Wformat after D88123

Added: 
    

Modified: 
    lldb/bindings/python/python-wrapper.swig

Removed: 
    


################################################################################
diff  --git a/lldb/bindings/python/python-wrapper.swig b/lldb/bindings/python/python-wrapper.swig
index 9e84b341d1a6..cd326046b421 100644
--- a/lldb/bindings/python/python-wrapper.swig
+++ b/lldb/bindings/python/python-wrapper.swig
@@ -532,7 +532,8 @@ LLDBSwigPythonCreateScriptedStopHook
         }
         else {
           error.SetErrorStringWithFormat("Class \"%s\" is missing the required "
-                                         "handle_stop callback.");
+                                         "handle_stop callback.",
+                                         python_class_name);
           result.release();
         }
     }


        


More information about the lldb-commits mailing list