Pirama Arumuga Nainar | d285ad0 | 2022-02-08 09:26:56 -0800 | [diff] [blame] | 1 | //===-- SystemInitializer.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_INITIALIZATION_SYSTEMINITIALIZER_H |
| 10 | #define LLDB_INITIALIZATION_SYSTEMINITIALIZER_H |
| 11 | |
| 12 | #include "llvm/Support/Error.h" |
| 13 | |
| 14 | #include <string> |
| 15 | |
| 16 | namespace lldb_private { |
| 17 | |
| 18 | class SystemInitializer { |
| 19 | public: |
| 20 | SystemInitializer(); |
| 21 | virtual ~SystemInitializer(); |
| 22 | |
| 23 | virtual llvm::Error Initialize() = 0; |
| 24 | virtual void Terminate() = 0; |
| 25 | }; |
| 26 | } |
| 27 | |
| 28 | #endif |