mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 06:40:01 +08:00
Cleaned up the API logging a lot more to reduce redundant information and
keep the file size a bit smaller. Exposed SBValue::GetExpressionPath() so SBValue users can get an expression path for their values. llvm-svn: 117851
This commit is contained in:
@@ -73,8 +73,8 @@ SBCommandInterpreter::HandleCommand (const char *command_line, SBCommandReturnOb
|
||||
Log *log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API);
|
||||
|
||||
if (log)
|
||||
log->Printf ("SBCommandInterpreter(%p)::HandleCommand (command_line='%s', result=%p, add_to_history=%i)",
|
||||
m_opaque_ptr, command_line, &result, add_to_history);
|
||||
log->Printf ("SBCommandInterpreter(%p)::HandleCommand (command=\"%s\", SBCommandReturnObject(%p), add_to_history=%i)",
|
||||
m_opaque_ptr, command_line, result.get(), add_to_history);
|
||||
|
||||
result.Clear();
|
||||
if (m_opaque_ptr)
|
||||
@@ -93,8 +93,8 @@ SBCommandInterpreter::HandleCommand (const char *command_line, SBCommandReturnOb
|
||||
{
|
||||
SBStream sstr;
|
||||
result.GetDescription (sstr);
|
||||
log->Printf ("SBCommandInterpreter(%p)::HandleCommand (\"%s\") => SBCommandReturnObject(%p): '%s'",
|
||||
m_opaque_ptr, command_line, result.get(), sstr.GetData());
|
||||
log->Printf ("SBCommandInterpreter(%p)::HandleCommand (command=\"%s\", SBCommandReturnObject(%p): %s, add_to_history=%i) => %i",
|
||||
m_opaque_ptr, command_line, result.get(), sstr.GetData(), add_to_history, result.GetStatus());
|
||||
}
|
||||
|
||||
return result.GetStatus();
|
||||
|
||||
Reference in New Issue
Block a user