1 //===-- SystemInitializerFull.h ---------------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef LLDB_API_SYSTEM_INITIALIZER_FULL_H 11 #define LLDB_API_SYSTEM_INITIALIZER_FULL_H 12 13 #include "lldb/Initialization/SystemInitializerCommon.h" 14 15 namespace lldb_private { 16 //------------------------------------------------------------------ 17 /// Initializes lldb. 18 /// 19 /// This class is responsible for initializing all of lldb system 20 /// services needed to use the full LLDB application. This class is 21 /// not intended to be used externally, but is instead used 22 /// internally by SBDebugger to initialize the system. 23 //------------------------------------------------------------------ 24 class SystemInitializerFull : public SystemInitializerCommon { 25 public: 26 SystemInitializerFull(); 27 ~SystemInitializerFull() override; 28 29 llvm::Error Initialize(const InitializerOptions &options) override; 30 void Terminate() override; 31 32 private: 33 void InitializeSWIG(); 34 }; 35 36 } // namespace lldb_private 37 38 #endif // LLDB_API_SYSTEM_INITIALIZER_FULL_H 39