hanchenye-llvm-project/lldb/source/Interpreter
Zachary Turner 2c1f46dcc6 Convert the ScriptInterpreter system to a plugin-based one.
Previously embedded interpreters were handled as ad-hoc source
files compiled into source/Interpreter.  This made it hard to
disable a specific interpreter, or to add support for other
interpreters and allow the developer to choose which interpreter(s)
were enabled for a particular build.

This patch converts script interpreters over to a plugin-based system.
Script interpreters now live in source/Plugins/ScriptInterpreter, and
the canonical LLDB interpreter, ScriptInterpreterPython, is moved there
as well.

Any new code interfacing with the Python C API must live in this location
from here on out.  Additionally, generic code should never need to
reference or make assumptions about the presence of a specific interpreter
going forward.

Differential Revision: http://reviews.llvm.org/D11431
Reviewed By: Greg Clayton

llvm-svn: 243681
2015-07-30 20:28:07 +00:00
..
Args.cpp Fix typos. 2015-07-22 00:16:02 +00:00
CMakeLists.txt Convert the ScriptInterpreter system to a plugin-based one. 2015-07-30 20:28:07 +00:00
CommandHistory.cpp Moved Args::StringToXIntYZ to StringConvert::ToXIntYZ 2015-01-15 20:08:35 +00:00
CommandInterpreter.cpp Convert the ScriptInterpreter system to a plugin-based one. 2015-07-30 20:28:07 +00:00
CommandObject.cpp Fix typos. 2015-07-22 00:16:02 +00:00
CommandObjectRegexCommand.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
CommandObjectScript.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
CommandObjectScript.h
CommandOptionValidators.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandReturnObject.cpp Any commands that are executed through the public interface using SBCommandInterpreter::HandleCommand() are assumed to be in non-interactive mode. 2014-07-15 00:25:59 +00:00
Makefile Start to share SWIG interface files between languages. 2015-04-24 00:38:53 +00:00
OptionGroupArchitecture.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionGroupBoolean.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionGroupFile.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionGroupFormat.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
OptionGroupOutputFile.cpp Fix a variety of typos. 2015-06-18 05:27:05 +00:00
OptionGroupPlatform.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
OptionGroupString.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionGroupUInt64.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionGroupUUID.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionGroupValueObjectDisplay.cpp Add a more tweakable way for ValueObjectPrinter to control pointer expansion. NFC. 2015-07-27 18:34:14 +00:00
OptionGroupVariable.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
OptionGroupWatchpoint.cpp Changed '-x'/'-xsize' to '-s'/'-size' when specifying 2015-03-26 00:42:27 +00:00
OptionValue.cpp Add an OptionValueLanguage class 2015-02-20 19:46:30 +00:00
OptionValueArch.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
OptionValueArgs.cpp
OptionValueArray.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionValueBoolean.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionValueChar.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionValueDictionary.cpp Fix a variety of typos. 2015-06-18 05:27:05 +00:00
OptionValueEnumeration.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionValueFileSpec.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
OptionValueFileSpecLIst.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionValueFormat.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
OptionValueFormatEntity.cpp Fixed "format-string" based settings so they can have quotes on them without leaving the quotes in the format string: 2015-06-03 02:02:48 +00:00
OptionValueLanguage.cpp Add support for specifying a language to use when parsing breakpoints. 2015-07-21 22:05:07 +00:00
OptionValuePathMappings.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionValueProperties.cpp Add support for specifying a language to use when parsing breakpoints. 2015-07-21 22:05:07 +00:00
OptionValueRegex.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionValueSInt64.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionValueString.cpp Fix use-after-free in OptionValueString. 2015-05-22 19:33:54 +00:00
OptionValueUInt64.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionValueUUID.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
Options.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
Property.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
ScriptInterpreter.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
embedded_interpreter.py Continuation broken for Python scripts when using non-interactive input (Xcode for example). 2014-09-15 22:46:25 +00:00