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 | |
Jonas Devlieghere | cdc514e | 2020-02-17 15:57:45 -0800 | [diff] [blame] | 9 | #ifndef LLDB_SOURCE_API_SYSTEMINITIALIZERFULL_H |
| 10 | #define LLDB_SOURCE_API_SYSTEMINITIALIZERFULL_H |
Zachary Turner | e6e2bb3 | 2015-03-31 21:03:22 +0000 | [diff] [blame] | 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 | /// 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. |
Kate Stone | b9c1b51 | 2016-09-06 20:57:50 +0000 | [diff] [blame] | 21 | class SystemInitializerFull : public SystemInitializerCommon { |
| 22 | public: |
| 23 | SystemInitializerFull(); |
| 24 | ~SystemInitializerFull() override; |
Zachary Turner | e6e2bb3 | 2015-03-31 21:03:22 +0000 | [diff] [blame] | 25 | |
Jonas Devlieghere | 936c624 | 2019-02-21 22:26:16 +0000 | [diff] [blame] | 26 | llvm::Error Initialize() override; |
Kate Stone | b9c1b51 | 2016-09-06 20:57:50 +0000 | [diff] [blame] | 27 | void Terminate() override; |
Zachary Turner | e6e2bb3 | 2015-03-31 21:03:22 +0000 | [diff] [blame] | 28 | }; |
Zachary Turner | e6e2bb3 | 2015-03-31 21:03:22 +0000 | [diff] [blame] | 29 | |
Pavel Labath | 3a3354e | 2015-09-02 09:19:24 +0000 | [diff] [blame] | 30 | } // namespace lldb_private |
| 31 | |
Jonas Devlieghere | cdc514e | 2020-02-17 15:57:45 -0800 | [diff] [blame] | 32 | #endif // LLDB_SOURCE_API_SYSTEMINITIALIZERFULL_H |