diff options
author | Alex Langford <apl@fb.com> | 2018-05-25 20:28:16 +0000 |
---|---|---|
committer | Alex Langford <apl@fb.com> | 2018-05-25 20:28:16 +0000 |
commit | d17cd902689154c52ec3c738be2706259b4dbdbb (patch) | |
tree | 9449ad187d29ff0ac20c3a9cf41298c21bcf82f5 /lldb/source/API/SystemInitializerFull.h | |
parent | 32efedcff3637ed7732c6901817ac6808ce0f6cc (diff) | |
download | bcm5719-llvm-d17cd902689154c52ec3c738be2706259b4dbdbb.tar.gz bcm5719-llvm-d17cd902689154c52ec3c738be2706259b4dbdbb.zip |
Move SystemInitializerFull header to source/API
Summary:
It seems to me that files in include/lldb/API/ are headers that should
be exposed to liblldb users. Because SystemInitializerFull.h exposes details of
lldb_private, I think having it there is not the right thing to do. Since it's
only included from files in source/API, we should move it there and treat it as
private.
Reviewers: labath, clayborg
Reviewed By: labath, clayborg
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D47342
llvm-svn: 333304
Diffstat (limited to 'lldb/source/API/SystemInitializerFull.h')
-rw-r--r-- | lldb/source/API/SystemInitializerFull.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/lldb/source/API/SystemInitializerFull.h b/lldb/source/API/SystemInitializerFull.h new file mode 100644 index 00000000000..9cfc6896da6 --- /dev/null +++ b/lldb/source/API/SystemInitializerFull.h @@ -0,0 +1,38 @@ +//===-- SystemInitializerFull.h ---------------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#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; + + void Initialize() override; + void Terminate() override; + +private: + void InitializeSWIG(); +}; + +} // namespace lldb_private + +#endif // LLDB_API_SYSTEM_INITIALIZER_FULL_H |