1 //===-- SystemInitializer.h -------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_INITIALIZATION_SYSTEM_INITIALIZER_H
11 #define LLDB_INITIALIZATION_SYSTEM_INITIALIZER_H
13 #include "llvm/Support/Error.h"
17 namespace lldb_private {
19 struct InitializerOptions {
20 bool reproducer_capture = false;
21 bool reproducer_replay = false;
22 std::string reproducer_path;
25 class SystemInitializer {
28 virtual ~SystemInitializer();
30 virtual llvm::Error Initialize(const InitializerOptions &options) = 0;
31 virtual void Terminate() = 0;