Move LLDB initialization/shutdown to Initialization.
authorZachary Turner <zturner@google.com>
Thu, 19 Mar 2015 22:00:21 +0000 (22:00 +0000)
committerZachary Turner <zturner@google.com>
Thu, 19 Mar 2015 22:00:21 +0000 (22:00 +0000)
commit3a00691f3d6d281b5bf13564b81aef1d3e408c51
tree3fffa3b54f17e54aea13d4389ba4948b2e6be19e
parent0efb51a072b06d5cfb97af6594c3a1fd0e80cc93
Move LLDB initialization/shutdown to Initialization.

This creates a new top-level folder called Initialization which
is intended to hold code specific to LLDB system initialization.
Currently this holds the Initialize() and Terminate() functions,
as well as the fatal error handler.

This provides a means to break the massive dependency cycle which
is caused by the fact that Debugger depends on Initialize and
Terminate which then depends on the entire LLDB project.  With
this structure, it will be possible for applications to invoke
lldb_private::Initialize() directly, and have that invoke
Debugger::Initialize.

llvm-svn: 232768
18 files changed:
lldb/cmake/LLDBDependencies.cmake
lldb/include/lldb/Core/Debugger.h
lldb/include/lldb/Host/Host.h
lldb/include/lldb/Initialization/InitializeLLDB.h [new file with mode: 0644]
lldb/include/lldb/lldb-forward.h
lldb/include/lldb/lldb-private-types.h
lldb/include/lldb/lldb-private.h
lldb/lldb.xcodeproj/project.pbxproj
lldb/source/API/SBDebugger.cpp
lldb/source/CMakeLists.txt
lldb/source/Core/Debugger.cpp
lldb/source/Host/common/Host.cpp
lldb/source/Initialization/CMakeLists.txt [new file with mode: 0644]
lldb/source/Initialization/InitializeLLDB.cpp [new file with mode: 0644]
lldb/source/Initialization/Makefile [new file with mode: 0644]
lldb/source/Makefile
lldb/source/lldb.cpp
lldb/tools/lldb-server/lldb-server.cpp