forked from OSchip/llvm-project
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
This commit is contained in:
parent
2ae9783b4f
commit
181b823b04
|
@ -21,8 +21,8 @@
|
|||
#include "lldb/Breakpoint/BreakpointName.h"
|
||||
#include "lldb/Breakpoint/BreakpointOptions.h"
|
||||
#include "lldb/Breakpoint/Stoppoint.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/SearchFilter.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/StringList.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
#include "lldb/Breakpoint/BreakpointLocationList.h"
|
||||
#include "lldb/Breakpoint/BreakpointOptions.h"
|
||||
#include "lldb/Breakpoint/Stoppoint.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/SearchFilter.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/Flags.h"
|
||||
#include "lldb/Utility/StringList.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
#ifndef liblldb_Communication_h_
|
||||
#define liblldb_Communication_h_
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Host/HostThread.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/Timeout.h"
|
||||
#include "lldb/lldb-defines.h"
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/FormatEntity.h"
|
||||
#include "lldb/Core/IOHandler.h"
|
||||
#include "lldb/Core/SourceManager.h"
|
||||
|
@ -25,6 +24,7 @@
|
|||
#include "lldb/Target/ExecutionContext.h"
|
||||
#include "lldb/Target/Platform.h"
|
||||
#include "lldb/Target/TargetList.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
#include "lldb/Utility/FileSpec.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
#ifndef liblldb_StructuredDataImpl_h_
|
||||
#define liblldb_StructuredDataImpl_h_
|
||||
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Target/StructuredDataPlugin.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
|
|
@ -10,21 +10,21 @@
|
|||
#ifndef liblldb_CommandInterpreter_h_
|
||||
#define liblldb_CommandInterpreter_h_
|
||||
|
||||
#include <mutex>
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/IOHandler.h"
|
||||
#include "lldb/Interpreter/CommandAlias.h"
|
||||
#include "lldb/Interpreter/CommandHistory.h"
|
||||
#include "lldb/Interpreter/CommandObject.h"
|
||||
#include "lldb/Interpreter/ScriptInterpreter.h"
|
||||
#include "lldb/Utility/Args.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/CompletionRequest.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/StringList.h"
|
||||
#include "lldb/lldb-forward.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
#include <mutex>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
#include "lldb/lldb-private.h"
|
||||
|
||||
#include "lldb/Breakpoint/BreakpointOptions.h"
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/PluginInterface.h"
|
||||
#include "lldb/Core/SearchFilter.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
||||
|
|
|
@ -23,10 +23,7 @@
|
|||
#include <vector>
|
||||
|
||||
#include "lldb/Breakpoint/BreakpointSiteList.h"
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/Communication.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/Listener.h"
|
||||
#include "lldb/Core/LoadedModuleInfoList.h"
|
||||
#include "lldb/Core/PluginInterface.h"
|
||||
#include "lldb/Core/ThreadSafeValue.h"
|
||||
|
@ -43,6 +40,9 @@
|
|||
#include "lldb/Target/QueueList.h"
|
||||
#include "lldb/Target/ThreadList.h"
|
||||
#include "lldb/Utility/ArchSpec.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/Listener.h"
|
||||
#include "lldb/Utility/NameMatches.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include "lldb/Breakpoint/BreakpointName.h"
|
||||
#include "lldb/Breakpoint/WatchpointList.h"
|
||||
#include "lldb/Core/Architecture.h"
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/Disassembler.h"
|
||||
#include "lldb/Core/ModuleList.h"
|
||||
#include "lldb/Core/UserSettingsController.h"
|
||||
|
@ -31,6 +30,7 @@
|
|||
#include "lldb/Target/ProcessLaunchInfo.h"
|
||||
#include "lldb/Target/SectionLoadHistory.h"
|
||||
#include "lldb/Utility/ArchSpec.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/LLDBAssert.h"
|
||||
#include "lldb/Utility/Timeout.h"
|
||||
#include "lldb/lldb-public.h"
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
#include <mutex>
|
||||
#include <vector>
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
|
|
@ -15,12 +15,12 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/UserSettingsController.h"
|
||||
#include "lldb/Target/ExecutionContextScope.h"
|
||||
#include "lldb/Target/RegisterCheckpoint.h"
|
||||
#include "lldb/Target/StackFrameList.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
#include "lldb/Utility/UserID.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef liblldb_Broadcaster_h_
|
||||
#define liblldb_Broadcaster_h_
|
||||
#ifndef LLDB_UTILITY_BROADCASTER_H
|
||||
#define LLDB_UTILITY_BROADCASTER_H
|
||||
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
#include "lldb/lldb-defines.h"
|
||||
|
@ -223,7 +223,7 @@ private:
|
|||
};
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
/// @class Broadcaster Broadcaster.h "lldb/Core/Broadcaster.h" An event
|
||||
/// @class Broadcaster Broadcaster.h "lldb/Utility/Broadcaster.h" An event
|
||||
/// broadcasting class.
|
||||
///
|
||||
/// The Broadcaster class is designed to be subclassed by objects that wish to
|
||||
|
@ -595,4 +595,4 @@ private:
|
|||
|
||||
} // namespace lldb_private
|
||||
|
||||
#endif // liblldb_Broadcaster_h_
|
||||
#endif // LLDB_UTILITY_BROADCASTER_H
|
|
@ -7,10 +7,10 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef liblldb_Event_h_
|
||||
#define liblldb_Event_h_
|
||||
#ifndef LLDB_UTILITY_EVENT_H
|
||||
#define LLDB_UTILITY_EVENT_H
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
#include "lldb/Utility/Predicate.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
@ -271,4 +271,4 @@ private:
|
|||
|
||||
} // namespace lldb_private
|
||||
|
||||
#endif // liblldb_Event_h_
|
||||
#endif // LLDB_UTILITY_EVENT_H
|
|
@ -7,10 +7,10 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef liblldb_Select_h_
|
||||
#define liblldb_Select_h_
|
||||
#ifndef LLDB_UTILITY_LISTENER_H
|
||||
#define LLDB_UTILITY_LISTENER_H
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/Timeout.h"
|
||||
#include "lldb/lldb-defines.h"
|
||||
#include "lldb/lldb-forward.h"
|
||||
|
@ -158,4 +158,4 @@ private:
|
|||
|
||||
} // namespace lldb_private
|
||||
|
||||
#endif // liblldb_Select_h_
|
||||
#endif // LLDB_UTILITY_LISTENER_H
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
|
||||
#include "lldb/API/SBBroadcaster.h"
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
#include "lldb/Core/Listener.h"
|
||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||
#include "lldb/Interpreter/CommandObjectMultiword.h"
|
||||
#include "lldb/Interpreter/CommandReturnObject.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/Listener.h"
|
||||
|
||||
#include "lldb/API/SBBroadcaster.h"
|
||||
#include "lldb/API/SBCommandInterpreter.h"
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
#include "lldb/API/SBStream.h"
|
||||
|
||||
#include "lldb/Breakpoint/Breakpoint.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
|
||||
using namespace lldb;
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
#include "lldb/API/SBDebugger.h"
|
||||
#include "lldb/API/SBEvent.h"
|
||||
#include "lldb/API/SBStream.h"
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Listener.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/Listener.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
#include "lldb/API/SBStream.h"
|
||||
#include "lldb/API/SBStringList.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/StructuredDataImpl.h"
|
||||
#include "lldb/Target/StructuredDataPlugin.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
|
|
@ -13,7 +13,6 @@ add_lldb_library(lldbCore
|
|||
AddressResolver.cpp
|
||||
AddressResolverFileLine.cpp
|
||||
AddressResolverName.cpp
|
||||
Broadcaster.cpp
|
||||
Communication.cpp
|
||||
Debugger.cpp
|
||||
Disassembler.cpp
|
||||
|
@ -21,13 +20,11 @@ add_lldb_library(lldbCore
|
|||
DumpRegisterValue.cpp
|
||||
DynamicLoader.cpp
|
||||
EmulateInstruction.cpp
|
||||
Event.cpp
|
||||
FileLineResolver.cpp
|
||||
FileSpecList.cpp
|
||||
FormatEntity.cpp
|
||||
Highlighter.cpp
|
||||
IOHandler.cpp
|
||||
Listener.cpp
|
||||
Mangled.cpp
|
||||
Module.cpp
|
||||
ModuleChild.cpp
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
|
||||
#include "lldb/Core/Communication.h"
|
||||
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/Listener.h"
|
||||
#include "lldb/Host/HostThread.h"
|
||||
#include "lldb/Host/ThreadLauncher.h"
|
||||
#include "lldb/Utility/Connection.h"
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/Listener.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Logging.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
|
|
|
@ -10,9 +10,7 @@
|
|||
#include "lldb/Core/Debugger.h"
|
||||
|
||||
#include "lldb/Breakpoint/Breakpoint.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/FormatEntity.h"
|
||||
#include "lldb/Core/Listener.h"
|
||||
#include "lldb/Core/Mangled.h"
|
||||
#include "lldb/Core/ModuleList.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
|
@ -43,6 +41,8 @@
|
|||
#include "lldb/Target/Thread.h"
|
||||
#include "lldb/Target/ThreadList.h"
|
||||
#include "lldb/Utility/AnsiTerminal.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/Listener.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Reproducer.h"
|
||||
#include "lldb/Utility/State.h"
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
#include <string>
|
||||
|
||||
#include "lldb/Core/Communication.h"
|
||||
#include "lldb/Core/Listener.h"
|
||||
#include "lldb/Core/StreamBuffer.h"
|
||||
#include "lldb/Utility/Listener.h"
|
||||
#include "lldb/Utility/Predicate.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
|
||||
|
|
|
@ -14,12 +14,12 @@
|
|||
#include <list>
|
||||
#include <vector>
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/ThreadSafeValue.h"
|
||||
#include "lldb/Host/HostThread.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Target/Thread.h"
|
||||
#include "lldb/Utility/ArchSpec.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
|
|
|
@ -12,12 +12,12 @@
|
|||
|
||||
#include <mutex>
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/UserSettingsController.h"
|
||||
#include "lldb/Target/ExecutionContextScope.h"
|
||||
#include "lldb/Target/StackFrameList.h"
|
||||
#include "lldb/Target/Thread.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/UserID.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
#include <vector>
|
||||
|
||||
#include "lldb/Core/Communication.h"
|
||||
#include "lldb/Core/Listener.h"
|
||||
#include "lldb/Host/HostThread.h"
|
||||
#include "lldb/Utility/Args.h"
|
||||
#include "lldb/Utility/Listener.h"
|
||||
#include "lldb/Utility/Predicate.h"
|
||||
#include "lldb/lldb-public.h"
|
||||
#include "lldb/Utility/StringExtractorGDBRemote.h"
|
||||
#include "lldb/lldb-public.h"
|
||||
|
||||
namespace lldb_private {
|
||||
namespace process_gdb_remote {
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
#include <cstring>
|
||||
|
||||
// Project includes
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Host/ThreadLauncher.h"
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/FileSpec.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/StringExtractorGDBRemote.h"
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
#include "GDBRemoteCommunicationHistory.h"
|
||||
|
||||
// Project includes
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Host/HostThread.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/lldb-private-forward.h"
|
||||
#include "llvm/Support/Error.h"
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/LoadedModuleInfoList.h"
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/ThreadSafeValue.h"
|
||||
|
@ -24,6 +23,7 @@
|
|||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Target/Thread.h"
|
||||
#include "lldb/Utility/ArchSpec.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StreamGDBRemote.h"
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include "lldb/Breakpoint/BreakpointLocation.h"
|
||||
#include "lldb/Breakpoint/StoppointCallbackContext.h"
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
|
@ -62,6 +61,7 @@
|
|||
#include "lldb/Target/ThreadPlan.h"
|
||||
#include "lldb/Target/ThreadPlanBase.h"
|
||||
#include "lldb/Target/UnixSignals.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/NameMatches.h"
|
||||
#include "lldb/Utility/SelectHelper.h"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <mutex>
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangASTSource.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangPersistentVariables.h"
|
||||
|
@ -20,12 +20,11 @@
|
|||
#include "lldb/Breakpoint/BreakpointResolverScripted.h"
|
||||
#include "lldb/Breakpoint/Watchpoint.h"
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/SearchFilter.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/SourceManager.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/StructuredDataImpl.h"
|
||||
|
@ -50,15 +49,16 @@
|
|||
#include "lldb/Target/SectionLoadList.h"
|
||||
#include "lldb/Target/StackFrame.h"
|
||||
#include "lldb/Target/SystemRuntime.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Target/Thread.h"
|
||||
#include "lldb/Target/ThreadSpec.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/FileSpec.h"
|
||||
#include "lldb/Utility/LLDBAssert.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/State.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
#include <mutex>
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
|
|
@ -8,9 +8,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Target/TargetList.h"
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
|
@ -20,6 +18,8 @@
|
|||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Target/Platform.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/State.h"
|
||||
#include "lldb/Utility/TildeExpressionResolver.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/Listener.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/Listener.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Logging.h"
|
||||
#include "lldb/Utility/Stream.h"
|
|
@ -45,6 +45,7 @@ add_lldb_library(lldbUtility
|
|||
ArchSpec.cpp
|
||||
Args.cpp
|
||||
Baton.cpp
|
||||
Broadcaster.cpp
|
||||
Connection.cpp
|
||||
ConstString.cpp
|
||||
CompletionRequest.cpp
|
||||
|
@ -53,10 +54,12 @@ add_lldb_library(lldbUtility
|
|||
DataEncoder.cpp
|
||||
DataExtractor.cpp
|
||||
Environment.cpp
|
||||
Event.cpp
|
||||
FileSpec.cpp
|
||||
IOObject.cpp
|
||||
JSON.cpp
|
||||
LLDBAssert.cpp
|
||||
Listener.cpp
|
||||
Log.cpp
|
||||
Logging.cpp
|
||||
NameMatches.cpp
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/DataExtractor.h"
|
||||
#include "lldb/Utility/Endian.h"
|
||||
#include "lldb/Utility/Stream.h"
|
|
@ -7,11 +7,11 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Core/Listener.h"
|
||||
#include "lldb/Utility/Listener.h"
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Logging.h"
|
||||
|
|
@ -1,7 +1,4 @@
|
|||
add_lldb_unittest(LLDBCoreTests
|
||||
BroadcasterTest.cpp
|
||||
EventTest.cpp
|
||||
ListenerTest.cpp
|
||||
MangledTest.cpp
|
||||
RangeTest.cpp
|
||||
RichManglingContextTest.cpp
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/Listener.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/Listener.h"
|
||||
#include "lldb/Utility/Predicate.h"
|
||||
|
||||
#include <thread>
|
|
@ -3,14 +3,17 @@ add_lldb_unittest(UtilityTests
|
|||
ArgsTest.cpp
|
||||
OptionsWithRawTest.cpp
|
||||
ArchSpecTest.cpp
|
||||
BroadcasterTest.cpp
|
||||
CleanUpTest.cpp
|
||||
ConstStringTest.cpp
|
||||
CompletionRequestTest.cpp
|
||||
DataExtractorTest.cpp
|
||||
EnvironmentTest.cpp
|
||||
EventTest.cpp
|
||||
FileSpecTest.cpp
|
||||
FlagsTest.cpp
|
||||
JSONTest.cpp
|
||||
ListenerTest.cpp
|
||||
LogTest.cpp
|
||||
NameMatchesTest.cpp
|
||||
PredicateTest.cpp
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Utility/Event.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/Listener.h"
|
||||
#include "lldb/Utility/Broadcaster.h"
|
||||
#include "lldb/Utility/Listener.h"
|
||||
#include <future>
|
||||
#include <thread>
|
||||
|
Loading…
Reference in New Issue