llvm-project/lldb/source/API/SystemInitializerFull.h

38 lines
1.3 KiB
C++

//===-- SystemInitializerFull.h ---------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLDB_API_SYSTEM_INITIALIZER_FULL_H
#define LLDB_API_SYSTEM_INITIALIZER_FULL_H
#include "lldb/Initialization/SystemInitializerCommon.h"
namespace lldb_private {
//------------------------------------------------------------------
/// Initializes lldb.
///
/// This class is responsible for initializing all of lldb system
/// services needed to use the full LLDB application. This class is
/// not intended to be used externally, but is instead used
/// internally by SBDebugger to initialize the system.
//------------------------------------------------------------------
class SystemInitializerFull : public SystemInitializerCommon {
public:
SystemInitializerFull();
~SystemInitializerFull() override;
llvm::Error Initialize(const InitializerOptions &options) override;
void Terminate() override;
private:
void InitializeSWIG();
};
} // namespace lldb_private
#endif // LLDB_API_SYSTEM_INITIALIZER_FULL_H