aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/OperatingSystem/Python
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2022-02-03 13:26:10 +0100
committerPavel Labath <pavel@labath.sk>2022-02-03 14:47:01 +0100
commitc34698a811b137b705738b7f8d193bc896027fb8 (patch)
tree8fc8f1ebfc655e022c67692757114e3e699a5079 /lldb/source/Plugins/OperatingSystem/Python
parent1c6dca96caeeb498c02f665bc55428d6f1c0edb2 (diff)
downloadllvm-c34698a811b137b705738b7f8d193bc896027fb8.zip
llvm-c34698a811b137b705738b7f8d193bc896027fb8.tar.gz
llvm-c34698a811b137b705738b7f8d193bc896027fb8.tar.bz2
[lldb] Rename Logging.h to LLDBLog.h and clean up includes
Most of our code was including Log.h even though that is not where the "lldb" log channel is defined (Log.h defines the generic logging infrastructure). This worked because Log.h included Logging.h, even though it should. After the recent refactor, it became impossible the two files include each other in this direction (the opposite inclusion is needed), so this patch removes the workaround that was put in place and cleans up all files to include the right thing. It also renames the file to LLDBLog to better reflect its purpose.
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python')
-rw-r--r--lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
index ee5029c..c22003f 100644
--- a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
+++ b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
@@ -29,6 +29,7 @@
#include "lldb/Target/Thread.h"
#include "lldb/Target/ThreadList.h"
#include "lldb/Utility/DataBufferHeap.h"
+#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/RegisterValue.h"
#include "lldb/Utility/StreamString.h"
#include "lldb/Utility/StructuredData.h"