Go to file
Enrico Granata 21dfcd9d41 Implementing plugins that provide commands.
This checkin adds the capability for LLDB to load plugins from external dylibs that can provide new commands
It exports an SBCommand class from the public API layer, and a new SBCommandPluginInterface

There is a minimal load-only plugin manager built into the debugger, which can be accessed via Debugger::LoadPlugin.

Plugins are loaded from two locations at debugger startup (LLDB.framework/Resources/PlugIns and ~/Library/Application Support/LLDB/PlugIns) and more can be (re)loaded via the "plugin load" command

For an example of how to make a plugin, refer to the fooplugin.cpp file in examples/plugins/commands

Caveats:
	Currently, the new API objects and features are not exposed via Python.
	The new commands can only be "parsed" (i.e. not raw) and get their command line via a char** parameter (we do not expose our internal Args object)
	There is no unloading feature, which can potentially lead to leaks if you overwrite the commands by reloading the same or different plugins
	There is no API exposed for option parsing, which means you may need to use getopt or roll-your-own

llvm-svn: 164865
2012-09-28 23:57:51 +00:00
clang PR13941: Mark all virtual functions as unnamed_addr. It's not possible to 2012-09-28 22:46:07 +00:00
clang-tools-extra Fix typo in a comment in lit.cfg 2012-09-12 16:29:37 +00:00
compiler-rt [ASan] Fix unit test headers. Add an option to change substitute asan_test_config.h file 2012-09-28 12:24:23 +00:00
debuginfo-tests Fix this for gdb 7.4. 2012-07-23 19:41:58 +00:00
libclc Add barrier.cl to SOURCES, spotted by Jin Wang. 2012-09-05 18:13:55 +00:00
libcxx Due to a mistake on my own part, I need to burn some version numbers. This does not impact any of the implementation of libc++, and does not impact the ABI in any way. 2012-09-28 17:42:25 +00:00
libcxxabi Set up code under _LIBCXX_DYNAMIC_FALLBACK which is off by default. For a full description of _LIBCXX_DYNAMIC_FALLBACK, see src/private_typeinfo.cpp. 2012-09-28 22:43:50 +00:00
lld Fix -Wcovered-switch-default warning. 2012-09-28 21:07:58 +00:00
lldb Implementing plugins that provide commands. 2012-09-28 23:57:51 +00:00
llvm Don't use bit-wise operations to query for inclusion/exclusion of attributes. 2012-09-28 22:30:18 +00:00
polly Bailout if libpluto finds no schedule 2012-09-21 16:24:13 +00:00