Move Broadcaster+Listener+Event combo from Core into Utility
authorPavel Labath <pavel@labath.sk>
Fri, 14 Dec 2018 15:59:49 +0000 (15:59 +0000)
committerPavel Labath <pavel@labath.sk>
Fri, 14 Dec 2018 15:59:49 +0000 (15:59 +0000)
commit181b823b0478f92ae5fc4e022de18ce082f91bf0
treef39c156d89b20ea73c9e9a756d98b91cfbd2446f
parent2ae9783b4fc7a7a716e4a21f85c304632b527b10
Move Broadcaster+Listener+Event combo from Core into Utility

Summary:
These are general purpose "utility" classes, whose functionality is not
debugger-specific in any way. As such, I believe they belong in the
Utility module.

This doesn't break any particular dependency (yet), but it reduces the
number of Core dependencies across the board.

Reviewers: zturner, jingham, teemperor, clayborg

Subscribers: mgorny, lldb-commits

Differential Revision: https://reviews.llvm.org/D55361

llvm-svn: 349157
41 files changed:
lldb/include/lldb/Breakpoint/Breakpoint.h
lldb/include/lldb/Breakpoint/BreakpointName.h
lldb/include/lldb/Core/Communication.h
lldb/include/lldb/Core/Debugger.h
lldb/include/lldb/Core/StructuredDataImpl.h
lldb/include/lldb/Interpreter/CommandInterpreter.h
lldb/include/lldb/Interpreter/ScriptInterpreter.h
lldb/include/lldb/Target/Process.h
lldb/include/lldb/Target/Target.h
lldb/include/lldb/Target/TargetList.h
lldb/include/lldb/Target/Thread.h
lldb/include/lldb/Utility/Broadcaster.h [moved from lldb/include/lldb/Core/Broadcaster.h with 99% similarity]
lldb/include/lldb/Utility/Event.h [moved from lldb/include/lldb/Core/Event.h with 98% similarity]
lldb/include/lldb/Utility/Listener.h [moved from lldb/include/lldb/Core/Listener.h with 97% similarity]
lldb/source/API/SBBroadcaster.cpp
lldb/source/API/SBCommandInterpreter.cpp
lldb/source/API/SBEvent.cpp
lldb/source/API/SBListener.cpp
lldb/source/API/SBStructuredData.cpp
lldb/source/Core/CMakeLists.txt
lldb/source/Core/Communication.cpp
lldb/source/Core/Debugger.cpp
lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h
lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h
lldb/source/Plugins/Process/Utility/HistoryThread.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.h
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
lldb/source/Target/Process.cpp
lldb/source/Target/Target.cpp
lldb/source/Target/TargetList.cpp
lldb/source/Utility/Broadcaster.cpp [moved from lldb/source/Core/Broadcaster.cpp with 99% similarity]
lldb/source/Utility/CMakeLists.txt
lldb/source/Utility/Event.cpp [moved from lldb/source/Core/Event.cpp with 99% similarity]
lldb/source/Utility/Listener.cpp [moved from lldb/source/Core/Listener.cpp with 99% similarity]
lldb/unittests/Core/CMakeLists.txt
lldb/unittests/Utility/BroadcasterTest.cpp [moved from lldb/unittests/Core/BroadcasterTest.cpp with 96% similarity]
lldb/unittests/Utility/CMakeLists.txt
lldb/unittests/Utility/EventTest.cpp [moved from lldb/unittests/Core/EventTest.cpp with 95% similarity]
lldb/unittests/Utility/ListenerTest.cpp [moved from lldb/unittests/Core/ListenerTest.cpp with 98% similarity]