Zachary Turner | e6e2bb3 | 2015-03-31 21:03:22 +0000 | [diff] [blame] | 1 | //===-- SystemInitializerFull.h ---------------------------------*- C++ -*-===// |
| 2 | // |
Chandler Carruth | 2946cd7 | 2019-01-19 08:50:56 +0000 | [diff] [blame^] | 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 |
Zachary Turner | e6e2bb3 | 2015-03-31 21:03:22 +0000 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #ifndef LLDB_API_SYSTEM_INITIALIZER_FULL_H |
| 10 | #define LLDB_API_SYSTEM_INITIALIZER_FULL_H |
| 11 | |
| 12 | #include "lldb/Initialization/SystemInitializerCommon.h" |
| 13 | |
Kate Stone | b9c1b51 | 2016-09-06 20:57:50 +0000 | [diff] [blame] | 14 | namespace lldb_private { |
Zachary Turner | e6e2bb3 | 2015-03-31 21:03:22 +0000 | [diff] [blame] | 15 | //------------------------------------------------------------------ |
| 16 | /// Initializes lldb. |
| 17 | /// |
| 18 | /// This class is responsible for initializing all of lldb system |
| 19 | /// services needed to use the full LLDB application. This class is |
| 20 | /// not intended to be used externally, but is instead used |
| 21 | /// internally by SBDebugger to initialize the system. |
| 22 | //------------------------------------------------------------------ |
Kate Stone | b9c1b51 | 2016-09-06 20:57:50 +0000 | [diff] [blame] | 23 | class SystemInitializerFull : public SystemInitializerCommon { |
| 24 | public: |
| 25 | SystemInitializerFull(); |
| 26 | ~SystemInitializerFull() override; |
Zachary Turner | e6e2bb3 | 2015-03-31 21:03:22 +0000 | [diff] [blame] | 27 | |
Jonas Devlieghere | 15eacd7 | 2018-12-03 17:28:29 +0000 | [diff] [blame] | 28 | llvm::Error Initialize(const InitializerOptions &options) override; |
Kate Stone | b9c1b51 | 2016-09-06 20:57:50 +0000 | [diff] [blame] | 29 | void Terminate() override; |
Zachary Turner | e6e2bb3 | 2015-03-31 21:03:22 +0000 | [diff] [blame] | 30 | |
Kate Stone | b9c1b51 | 2016-09-06 20:57:50 +0000 | [diff] [blame] | 31 | private: |
| 32 | void InitializeSWIG(); |
Zachary Turner | e6e2bb3 | 2015-03-31 21:03:22 +0000 | [diff] [blame] | 33 | }; |
Zachary Turner | e6e2bb3 | 2015-03-31 21:03:22 +0000 | [diff] [blame] | 34 | |
Pavel Labath | 3a3354e | 2015-09-02 09:19:24 +0000 | [diff] [blame] | 35 | } // namespace lldb_private |
| 36 | |
| 37 | #endif // LLDB_API_SYSTEM_INITIALIZER_FULL_H |