1 //===-- SystemInitializerCommon.h -------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_INITIALIZATION_SYSTEM_INITIALIZER_COMMON_H
11 #define LLDB_INITIALIZATION_SYSTEM_INITIALIZER_COMMON_H
13 #include "SystemInitializer.h"
15 namespace lldb_private {
16 //------------------------------------------------------------------
17 /// Initializes common lldb functionality.
19 /// This class is responsible for initializing a subset of lldb
20 /// useful to both debug servers and debug clients. Debug servers
21 /// do not use all of LLDB and desire small binary sizes, so this
22 /// functionality is separate. This class is used by constructing
23 /// an instance of SystemLifetimeManager with this class passed to
25 //------------------------------------------------------------------
26 class SystemInitializerCommon : public SystemInitializer {
28 SystemInitializerCommon();
29 ~SystemInitializerCommon() override;
31 void Initialize() override;
32 void Terminate() override;
35 } // namespace lldb_private
37 #endif // LLDB_INITIALIZATION_SYSTEM_INITIALIZER_COMMON_H