Added the ability to save core files:
authorGreg Clayton <gclayton@apple.com>
Fri, 13 Jun 2014 00:54:12 +0000 (00:54 +0000)
committerGreg Clayton <gclayton@apple.com>
Fri, 13 Jun 2014 00:54:12 +0000 (00:54 +0000)
commita2715cf108d1fc433ffd76102998dbc470720103
tree07af7321b88e0be9ca48eaa51a2d47aed7485ac9
parent454d374e37ebebf7a2746093d8543197516b95d0
Added the ability to save core files:

(lldb) file /bin/ls
(lldb) b malloc
(lldb) run
(lldb) process save-core /tmp/ls.core

Each ObjectFile plug-in now has the option to save core files by registering a new static callback.

llvm-svn: 210864
lldb/include/lldb/Core/PluginManager.h
lldb/include/lldb/lldb-private-interfaces.h
lldb/source/Commands/CommandObjectProcess.cpp
lldb/source/Core/PluginManager.cpp
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp