summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2017-04-03 22:23:01 +0000
committerJason Molenda <jmolenda@apple.com>2017-04-03 22:23:01 +0000
commita4039a024cbb97209138406ecc2390d67ad546b9 (patch)
tree3e1d2ac96d7b7cca4ad8f3440fd0dbe00b46efd1
parent8f460655a26fb564a15cb927382fed4b69f41c67 (diff)
downloadbcm5719-llvm-a4039a024cbb97209138406ecc2390d67ad546b9.tar.gz
bcm5719-llvm-a4039a024cbb97209138406ecc2390d67ad546b9.zip
The LIBLLDB_LOG_TEMPORARY channel got lost at some point where
Logging.cpp was being changed in the past. Re-add it. llvm-svn: 299394
-rw-r--r--lldb/include/lldb/Utility/Logging.h1
-rw-r--r--lldb/source/Utility/Logging.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/lldb/include/lldb/Utility/Logging.h b/lldb/include/lldb/Utility/Logging.h
index 6709d3fb298..865097e7c19 100644
--- a/lldb/include/lldb/Utility/Logging.h
+++ b/lldb/include/lldb/Utility/Logging.h
@@ -23,6 +23,7 @@
#define LIBLLDB_LOG_WATCHPOINTS (1u << 6)
#define LIBLLDB_LOG_STEP (1u << 7)
#define LIBLLDB_LOG_EXPRESSIONS (1u << 8)
+#define LIBLLDB_LOG_TEMPORARY (1u << 9)
#define LIBLLDB_LOG_STATE (1u << 10)
#define LIBLLDB_LOG_OBJECT (1u << 11)
#define LIBLLDB_LOG_COMMUNICATION (1u << 12)
diff --git a/lldb/source/Utility/Logging.cpp b/lldb/source/Utility/Logging.cpp
index 8ebf1e5aadf..5965ff52312 100644
--- a/lldb/source/Utility/Logging.cpp
+++ b/lldb/source/Utility/Logging.cpp
@@ -38,6 +38,7 @@ static constexpr Log::Category g_categories[] = {
{{"symbol"}, {"log symbol related issues and warnings"}, LIBLLDB_LOG_SYMBOLS},
{{"system-runtime"}, {"log system runtime events"}, LIBLLDB_LOG_SYSTEM_RUNTIME},
{{"target"}, {"log target events and activities"}, LIBLLDB_LOG_TARGET},
+ {{"temp"}, {"log internal temporary debug messages"}, LIBLLDB_LOG_TEMPORARY},
{{"thread"}, {"log thread events and activities"}, LIBLLDB_LOG_THREAD},
{{"types"}, {"log type system related activities"}, LIBLLDB_LOG_TYPES},
{{"unwind"}, {"log stack unwind activities"}, LIBLLDB_LOG_UNWIND},
OpenPOWER on IntegriCloud