| 1 | //===-- SystemInitializerFull.h ---------------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #ifndef LLDB_SOURCE_API_SYSTEMINITIALIZERFULL_H |
| 10 | #define LLDB_SOURCE_API_SYSTEMINITIALIZERFULL_H |
| 11 | |
| 12 | #include "lldb/Initialization/SystemInitializerCommon.h" |
| 13 | |
| 14 | namespace lldb_private { |
| 15 | /// Initializes lldb. |
| 16 | /// |
| 17 | /// This class is responsible for initializing all of lldb system |
| 18 | /// services needed to use the full LLDB application. This class is |
| 19 | /// not intended to be used externally, but is instead used |
| 20 | /// internally by SBDebugger to initialize the system. |
| 21 | class SystemInitializerFull : public SystemInitializerCommon { |
| 22 | public: |
| 23 | SystemInitializerFull(); |
| 24 | ~SystemInitializerFull() override; |
| 25 | |
| 26 | llvm::Error Initialize() override; |
| 27 | void Terminate() override; |
| 28 | }; |
| 29 | |
| 30 | } // namespace lldb_private |
| 31 | |
| 32 | #endif // LLDB_SOURCE_API_SYSTEMINITIALIZERFULL_H |
| 33 | |