forked from OSchip/llvm-project
Move Timer and TraceOptions from Core to Utility
Summary: The classes have no dependencies, and they are used both by lldb and lldb-server, so it makes sense for them to live in the lowest layers. Reviewers: zturner, jingham Subscribers: emaste, mgorny, lldb-commits Differential Revision: https://reviews.llvm.org/D34746 llvm-svn: 306682
This commit is contained in:
parent
aad1a6f0a4
commit
38d0632e6a
|
@ -10,10 +10,10 @@
|
|||
#ifndef liblldb_NativeProcessProtocol_h_
|
||||
#define liblldb_NativeProcessProtocol_h_
|
||||
|
||||
#include "lldb/Core/TraceOptions.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Host/MainLoop.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/TraceOptions.h"
|
||||
#include "lldb/lldb-private-forward.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#include "lldb/Core/LoadedModuleInfoList.h"
|
||||
#include "lldb/Core/PluginInterface.h"
|
||||
#include "lldb/Core/ThreadSafeValue.h"
|
||||
#include "lldb/Core/TraceOptions.h"
|
||||
#include "lldb/Core/UserSettingsController.h"
|
||||
#include "lldb/Host/HostThread.h"
|
||||
#include "lldb/Host/ProcessRunLock.h"
|
||||
|
@ -50,6 +49,7 @@
|
|||
#include "lldb/Utility/NameMatches.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
#include "lldb/Utility/TraceOptions.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
|
|
|
@ -12,27 +12,15 @@
|
|||
|
||||
#include "lldb/lldb-defines.h" // for DISALLOW_COPY_AND_ASSIGN
|
||||
#include "llvm/Support/Chrono.h"
|
||||
|
||||
#include <atomic>
|
||||
|
||||
#include <stdint.h> // for uint32_t
|
||||
|
||||
namespace lldb_private {
|
||||
class Stream;
|
||||
}
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
/// @class Timer Timer.h "lldb/Core/Timer.h"
|
||||
/// @class Timer Timer.h "lldb/Utility/Timer.h"
|
||||
/// @brief A timer class that simplifies common timing metrics.
|
||||
///
|
||||
/// A scoped timer class that allows a variety of pthread mutex
|
||||
/// objects to have a mutex locked when a Timer::Locker
|
||||
/// object is created, and unlocked when it goes out of scope or
|
||||
/// when the Timer::Locker::Reset(pthread_mutex_t *)
|
||||
/// is called. This provides an exception safe way to lock a mutex
|
||||
/// in a scope.
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
class Timer {
|
|
@ -10,9 +10,9 @@
|
|||
#include "lldb/API/SBTraceOptions.h"
|
||||
#include "lldb/API/SBError.h"
|
||||
#include "lldb/API/SBStructuredData.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Core/StructuredDataImpl.h"
|
||||
#include "lldb/Core/TraceOptions.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/TraceOptions.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#endif
|
||||
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Initialization/SystemInitializerCommon.h"
|
||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||
|
@ -28,6 +27,7 @@
|
|||
#include "lldb/Symbol/GoASTContext.h"
|
||||
#include "lldb/Symbol/JavaASTContext.h"
|
||||
#include "lldb/Symbol/OCamlASTContext.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#include "Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h"
|
||||
#include "Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.h"
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Core/Value.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectVariable.h"
|
||||
|
@ -47,6 +46,7 @@
|
|||
#include "lldb/Target/Thread.h"
|
||||
#include "lldb/Utility/LLDBAssert.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/OptionParser.h"
|
||||
#include "lldb/Interpreter/Args.h"
|
||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||
|
@ -31,6 +30,7 @@
|
|||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/RegularExpression.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/State.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Core/ValueObjectVariable.h"
|
||||
#include "lldb/DataFormatters/ValueObjectPrinter.h"
|
||||
#include "lldb/Host/OptionParser.h"
|
||||
|
@ -50,6 +49,7 @@
|
|||
#include "lldb/Target/StackFrame.h"
|
||||
#include "lldb/Target/Thread.h"
|
||||
#include "lldb/Target/ThreadSpec.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@ add_lldb_library(lldbCore
|
|||
State.cpp
|
||||
StreamAsynchronousIO.cpp
|
||||
StreamFile.cpp
|
||||
Timer.cpp
|
||||
UserSettingsController.cpp
|
||||
Value.cpp
|
||||
ValueObject.cpp
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include "lldb/Core/ModuleList.h" // for ModuleList
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/SourceManager.h" // for SourceManager
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/FileSystem.h"
|
||||
#include "lldb/Interpreter/OptionValue.h"
|
||||
#include "lldb/Interpreter/OptionValueArray.h"
|
||||
|
@ -37,8 +36,9 @@
|
|||
#include "lldb/Utility/DataExtractor.h"
|
||||
#include "lldb/Utility/RegularExpression.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/Stream.h" // for Stream
|
||||
#include "lldb/Utility/StreamString.h" // for StreamString
|
||||
#include "lldb/Utility/Stream.h" // for Stream
|
||||
#include "lldb/Utility/StreamString.h" // for StreamString
|
||||
#include "lldb/Utility/Timer.h"
|
||||
#include "lldb/lldb-private-enumerations.h" // for InstructionType:...
|
||||
#include "lldb/lldb-private-interfaces.h" // for DisassemblerCrea...
|
||||
#include "lldb/lldb-private-types.h" // for RegisterInfo
|
||||
|
|
|
@ -27,12 +27,12 @@
|
|||
#include <cxxabi.h>
|
||||
#endif
|
||||
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Logging.h"
|
||||
#include "lldb/Utility/RegularExpression.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
#include "lldb/lldb-enumerations.h" // for LanguageType
|
||||
|
||||
#include "Plugins/Language/CPlusPlus/CPlusPlusLanguage.h"
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/SearchFilter.h" // for SearchFilt...
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/FileSystem.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||
|
@ -45,6 +44,7 @@
|
|||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/Stream.h" // for Stream
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#if defined(LLVM_ON_WIN32)
|
||||
#include "lldb/Host/windows/PosixApi.h" // for PATH_MAX
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "lldb/Core/ArchSpec.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/DataBuffer.h"
|
||||
|
@ -19,6 +18,7 @@
|
|||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/SafeMachO.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
#include "lldb/Utility/UUID.h"
|
||||
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
|
|
|
@ -42,12 +42,12 @@
|
|||
#include "llvm/ADT/SmallVector.h"
|
||||
#endif
|
||||
// Project includes
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Host/Socket.h"
|
||||
#include "lldb/Host/common/TCPSocket.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
|
|
@ -17,10 +17,10 @@
|
|||
#include "Plugins/ObjectFile/ELF/ObjectFileELF.h"
|
||||
#include "Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h"
|
||||
#include "Plugins/Process/gdb-remote/ProcessGDBRemoteLog.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#include "Plugins/ObjectFile/Mach-O/ObjectFileMachO.h"
|
||||
|
|
|
@ -45,9 +45,9 @@
|
|||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/State.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#ifndef LLDB_DISABLE_LIBEDIT
|
||||
#include "lldb/Host/Editline.h"
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/Scalar.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Core/ValueObjectVariable.h"
|
||||
#include "lldb/Expression/DiagnosticManager.h"
|
||||
#include "lldb/Expression/FunctionCaller.h"
|
||||
|
@ -55,6 +54,7 @@
|
|||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#include "AppleObjCClassDescriptorV2.h"
|
||||
#include "AppleObjCDeclVendor.h"
|
||||
|
|
|
@ -31,11 +31,11 @@ typedef struct ar_hdr {
|
|||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/FileSystem.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Utility/DataBufferLLVM.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Symbol/DWARFCallFrameInfo.h"
|
||||
#include "lldb/Symbol/SymbolContext.h"
|
||||
#include "lldb/Target/SectionLoadList.h"
|
||||
|
@ -28,6 +27,7 @@
|
|||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#include "llvm/ADT/PointerUnion.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include "lldb/Core/RangeMap.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Target/Platform.h"
|
||||
|
@ -32,6 +31,7 @@
|
|||
#include "lldb/Utility/FileSpec.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
#include "lldb/Utility/UUID.h"
|
||||
|
||||
#ifndef __APPLE__
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include "lldb/Core/RegisterValue.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Symbol/DWARFCallFrameInfo.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
|
@ -44,6 +43,7 @@
|
|||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
#include "lldb/Utility/UUID.h"
|
||||
|
||||
#include "lldb/Utility/SafeMachO.h"
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Target/SectionLoadList.h"
|
||||
|
@ -28,6 +27,7 @@
|
|||
#include "lldb/Utility/DataBufferLLVM.h"
|
||||
#include "lldb/Utility/FileSpec.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
#include "lldb/Utility/UUID.h"
|
||||
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Host/Symbols.h"
|
||||
|
@ -39,6 +38,7 @@
|
|||
#include "lldb/Utility/DataBufferLLVM.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
#include "llvm/Support/Threading.h"
|
||||
|
|
|
@ -10,13 +10,12 @@
|
|||
#ifndef liblldb_ProcessorTrace_H_
|
||||
#define liblldb_ProcessorTrace_H_
|
||||
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/TraceOptions.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
|
||||
#include "lldb/Core/TraceOptions.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
#include <linux/perf_event.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
|
@ -138,4 +137,4 @@ public:
|
|||
};
|
||||
} // namespace process_linux
|
||||
} // namespace lldb_private
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/State.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Core/Value.h"
|
||||
#include "lldb/DataFormatters/FormatManager.h"
|
||||
#include "lldb/Host/ConnectionFileDescriptor.h"
|
||||
|
@ -66,6 +65,7 @@
|
|||
#include "lldb/Utility/CleanUp.h"
|
||||
#include "lldb/Utility/FileSpec.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
// Project includes
|
||||
#include "GDBRemoteRegisterContext.h"
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include "lldb/Core/Communication.h"
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/DataFormatters/TypeSummary.h"
|
||||
#include "lldb/Host/ConnectionFileDescriptor.h"
|
||||
|
@ -44,6 +43,7 @@
|
|||
#include "lldb/Interpreter/CommandReturnObject.h"
|
||||
#include "lldb/Target/Thread.h"
|
||||
#include "lldb/Target/ThreadPlan.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include "lldb/Host/windows/ConnectionGenericFileWindows.h"
|
||||
|
|
|
@ -13,13 +13,13 @@
|
|||
#include "lldb/Core/DumpDataExtractor.h"
|
||||
#include "lldb/Core/Mangled.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/StringConvert.h"
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
#include "lldb/Symbol/LineTable.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#include "DWARFDIECollection.h"
|
||||
#include "DWARFDebugAbbrev.h"
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
|
||||
#include <algorithm>
|
||||
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#include "DWARFCompileUnit.h"
|
||||
#include "DWARFDebugInfo.h"
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
|
||||
#include "lldb/Core/FileSpecList.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#include "LogChannelDWARF.h"
|
||||
#include "SymbolFileDWARF.h"
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
#include "DWARFDebugPubnames.h"
|
||||
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#include "DWARFCompileUnit.h"
|
||||
#include "DWARFDIECollection.h"
|
||||
|
|
|
@ -21,10 +21,10 @@
|
|||
#include "lldb/Core/Scalar.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Core/Value.h"
|
||||
#include "lldb/Utility/RegularExpression.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.h"
|
||||
|
||||
|
|
|
@ -22,12 +22,12 @@
|
|||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Host/FileSystem.h"
|
||||
#include "lldb/Utility/RegularExpression.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
//#define DEBUG_OSO_DMAP // DO NOT CHECKIN WITH THIS NOT COMMENTED OUT
|
||||
#if defined(DEBUG_OSO_DMAP)
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#endif
|
||||
#include "lldb/Core/Timer.h"
|
||||
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
#include "lldb/Symbol/LineTable.h"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include "SymbolFileSymtab.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
#include "lldb/Symbol/Function.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
|
@ -19,6 +18,7 @@
|
|||
#include "lldb/Symbol/Symtab.h"
|
||||
#include "lldb/Symbol/TypeList.h"
|
||||
#include "lldb/Utility/RegularExpression.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
|
|
@ -15,11 +15,11 @@
|
|||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Host/Symbols.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "lldb/Core/ArchSpec.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Core/dwarf.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Symbol/DWARFCallFrameInfo.h"
|
||||
|
@ -23,6 +22,7 @@
|
|||
#include "lldb/Target/RegisterContext.h"
|
||||
#include "lldb/Target/Thread.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Symbol/ObjectContainer.h"
|
||||
#include "lldb/Symbol/SymbolFile.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
|
@ -25,6 +24,7 @@
|
|||
#include "lldb/Utility/DataBufferLLVM.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/RegularExpression.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
|
||||
using namespace lldb;
|
||||
|
|
|
@ -13,15 +13,15 @@
|
|||
#include "Plugins/Language/CPlusPlus/CPlusPlusLanguage.h"
|
||||
#include "Plugins/Language/ObjC/ObjCLanguage.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/STLUtils.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Symbol/Symbol.h"
|
||||
#include "lldb/Symbol/SymbolContext.h"
|
||||
#include "lldb/Symbol/Symtab.h"
|
||||
#include "lldb/Utility/RegularExpression.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "lldb/Core/MappedHash.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Symbol/ClangASTContext.h"
|
||||
#include "lldb/Symbol/SymbolContext.h"
|
||||
|
@ -21,6 +20,7 @@
|
|||
#include "lldb/Target/ObjCLanguageRuntime.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "lldb/Core/SourceManager.h"
|
||||
#include "lldb/Core/State.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Expression/REPL.h"
|
||||
#include "lldb/Expression/UserExpression.h"
|
||||
|
@ -58,6 +57,7 @@
|
|||
#include "lldb/Utility/LLDBAssert.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/State.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||
|
@ -24,6 +23,7 @@
|
|||
#include "lldb/Target/Platform.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Utility/TildeExpressionResolver.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
// Other libraries and framework includes
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
|
|
|
@ -31,6 +31,7 @@ add_lldb_library(lldbUtility
|
|||
StructuredData.cpp
|
||||
TaskPool.cpp
|
||||
TildeExpressionResolver.cpp
|
||||
Timer.cpp
|
||||
UserID.cpp
|
||||
UriParser.cpp
|
||||
UUID.cpp
|
||||
|
|
|
@ -6,11 +6,8 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#include "lldb/Core/Timer.h"
|
||||
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/lldb-types.h" // for thread_key_t
|
||||
|
||||
#include <algorithm>
|
||||
#include <map>
|
|
@ -6,7 +6,6 @@ add_lldb_unittest(LLDBCoreTests
|
|||
ScalarTest.cpp
|
||||
StateTest.cpp
|
||||
StreamCallbackTest.cpp
|
||||
TimerTest.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbCore
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
|
||||
#include "Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h"
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/TraceOptions.h"
|
||||
#include "lldb/Target/MemoryRegionInfo.h"
|
||||
#include "lldb/Utility/DataBuffer.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
#include "lldb/Utility/TraceOptions.h"
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/Testing/Support/Error.h"
|
||||
|
|
|
@ -10,6 +10,7 @@ add_lldb_unittest(UtilityTests
|
|||
TaskPoolTest.cpp
|
||||
TildeExpressionResolverTest.cpp
|
||||
TimeoutTest.cpp
|
||||
TimerTest.cpp
|
||||
UriParserTest.cpp
|
||||
VASprintfTest.cpp
|
||||
|
||||
|
|
|
@ -7,10 +7,9 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include <thread>
|
||||
|
||||
using namespace lldb_private;
|
Loading…
Reference in New Issue