1 //===-- SystemInitializer.h -------------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_INITIALIZATION_SYSTEM_INITIALIZER_H
10 #define LLDB_INITIALIZATION_SYSTEM_INITIALIZER_H
12 #include "llvm/Support/Error.h"
16 namespace lldb_private {
18 class SystemInitializer {
21 virtual ~SystemInitializer();
23 virtual llvm::Error Initialize() = 0;
24 virtual void Terminate() = 0;