summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Log.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-02-22 11:51:12 +0000
committerPavel Labath <labath@google.com>2017-02-22 11:51:12 +0000
commita2fc1e0cc886df429cde9e6ac59ce3fad4419461 (patch)
tree921c7b8595c57ab1565cacc88f7a749af2f80845 /lldb/source/Core/Log.cpp
parenta385d2c1b66726ae7ca8960cb84fe3c146110019 (diff)
downloadbcm5719-llvm-a2fc1e0cc886df429cde9e6ac59ce3fad4419461.tar.gz
bcm5719-llvm-a2fc1e0cc886df429cde9e6ac59ce3fad4419461.zip
Switch "lldb" log channel to the new registration mechanism
llvm-svn: 295823
Diffstat (limited to 'lldb/source/Core/Log.cpp')
-rw-r--r--lldb/source/Core/Log.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lldb/source/Core/Log.cpp b/lldb/source/Core/Log.cpp
index 874b879724d..24d7ce31cd2 100644
--- a/lldb/source/Core/Log.cpp
+++ b/lldb/source/Core/Log.cpp
@@ -335,13 +335,6 @@ void Log::DisableAllLogChannels(Stream *feedback_strm) {
entry.second.channel.Disable(UINT32_MAX);
}
-void Log::Initialize() {
- Log::Callbacks log_callbacks = {DisableLog, EnableLog, ListLogCategories};
- Log::RegisterLogChannel(ConstString("lldb"), log_callbacks);
-}
-
-void Log::Terminate() { DisableAllLogChannels(nullptr); }
-
void Log::ListAllLogChannels(Stream *strm) {
CallbackMap &callback_map = GetCallbackMap();
OpenPOWER on IntegriCloud