ScriptInterpreterPython cleanup
authorPavel Labath <labath@google.com>
Thu, 21 Jun 2018 14:09:15 +0000 (14:09 +0000)
committerPavel Labath <labath@google.com>
Thu, 21 Jun 2018 14:09:15 +0000 (14:09 +0000)
commitbcadb5a3d1b17a581c4ac991f129eb8441a81c48
tree9d44f24054f27b8b0cedfaa2a2893ea8b8523779
parent30f2e61b97effae7dade5f617482b16b778629b9
ScriptInterpreterPython cleanup

Instead of #ifdef-ing the contents of all files in the plugin for all
non-python builds, just disable the plugin at the cmake level. Also,
remove spurious extra linking of the Python plugin in liblldb. This
plugin is already included as a part of LLDB_ALL_PLUGINS variable.

llvm-svn: 335236
lldb/source/API/CMakeLists.txt
lldb/source/Plugins/ScriptInterpreter/CMakeLists.txt
lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp
lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h