[lldb] Fix wrong log formatting for script callbacks (NFC)
Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
This commit is contained in:
1 parent
bdf4eaed89
commit
15cf81b13f
1 file changed
+1
-1
@@ -1229,7 +1229,7 @@ Status ScriptInterpreterPythonImpl::ExportFunctionDefinitionToInterpreter(
|
||||
StringList &function_def) {
|
||||
// Convert StringList to one long, newline delimited, const char *.
|
||||
std::string function_def_string(function_def.CopyList());
|
||||
LLDB_LOG(GetLog(LLDBLog::Script), "Added Function:\n%s\n",
|
||||
LLDB_LOG(GetLog(LLDBLog::Script), "Added Function:\n{0}\n",
|
||||
function_def_string.c_str());
|
||||
|
||||
Status error = ExecuteMultipleLines(
|
||||
|
||||
Reference in new issue
Block a user