summaryrefslogtreecommitdiffstats
path: root/lldb/source/lldb-log.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2010-08-31 18:05:13 +0000
committerJim Ingham <jingham@apple.com>2010-08-31 18:05:13 +0000
commitb4dcbaeec2baa4b428efca36c1fc9975d0cda5bc (patch)
tree43b1dfe346b9444f11f1552297de75754ab8cd66 /lldb/source/lldb-log.cpp
parentfbcd165b591c2bafdf255790a2eef85e9014ba10 (diff)
downloadbcm5719-llvm-b4dcbaeec2baa4b428efca36c1fc9975d0cda5bc.tar.gz
bcm5719-llvm-b4dcbaeec2baa4b428efca36c1fc9975d0cda5bc.zip
Add a "lldb host" logging channel, and put logging in the Host::OpenInExternalEditor code.
llvm-svn: 112614
Diffstat (limited to 'lldb/source/lldb-log.cpp')
-rw-r--r--lldb/source/lldb-log.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/lldb-log.cpp b/lldb/source/lldb-log.cpp
index 57a207220e9..4e291fab4ab 100644
--- a/lldb/source/lldb-log.cpp
+++ b/lldb/source/lldb-log.cpp
@@ -151,6 +151,7 @@ lldb_private::EnableLog (StreamSP &log_stream_sp, uint32_t log_options, Args &ar
else if (strcasestr(arg, "temp") == arg) flag_bits |= LIBLLDB_LOG_TEMPORARY;
else if (strcasestr(arg, "comm") == arg) flag_bits |= LIBLLDB_LOG_COMMUNICATION;
else if (strcasestr(arg, "conn") == arg) flag_bits |= LIBLLDB_LOG_CONNECTION;
+ else if (strcasestr(arg, "host") == arg) flag_bits |= LIBLLDB_LOG_HOST;
else
{
feedback_strm->Printf("error: unrecognized log category '%s'\n", arg);
OpenPOWER on IntegriCloud