llvm-project/lldb/source/Commands
Greg Clayton 23f8c95a44 JITed functions can now have debug info and be debugged with debug and source info:
(lldb) b puts
(lldb) expr -g -i0 -- (int)puts("hello")

First we will stop at the entry point of the expression before it runs, then we can step over a few times and hit the breakpoint in "puts", then we can continue and finishing stepping and fininsh the expression.

Main features:
- New ObjectFileJIT class that can be easily created for JIT functions
- debug info can now be enabled when parsing expressions
- source for any function that is run throught the JIT is now saved in LLDB process specific temp directory and cleaned up on exit
- "expr -g --" allows you to single step through your expression function with source code

<rdar://problem/16382881>

llvm-svn: 204682
2014-03-24 23:10:19 +00:00
..
CMakeLists.txt Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
CommandCompletions.cpp unused variable, typedef requires name warning cleanup 2013-08-26 17:07:34 +00:00
CommandObjectApropos.cpp Apropos should search user commands as well as built-in commands. 2013-05-17 01:30:37 +00:00
CommandObjectApropos.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectArgs.cpp Fix Windows build using portable types for formatting the log outputs 2014-03-03 15:39:47 +00:00
CommandObjectArgs.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectBreakpoint.cpp "size_t" isn't always 64 bit, it is 32 bit on 32 bit systems. All printf style statements that were assuming size_t were 64 bit were changed, and they were also changed to display them as unsigned values as "size_t" isn't signed. 2014-03-03 19:15:20 +00:00
CommandObjectBreakpoint.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectBreakpointCommand.cpp Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
CommandObjectBreakpointCommand.h Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
CommandObjectCommands.cpp Allow line numbers to be shown in multi-line expressions. 2014-03-07 00:53:24 +00:00
CommandObjectCommands.h
CommandObjectDisassemble.cpp For logical backtrace work, lldb needs to track Module unloads etc & symoblicate an address based on a point in time 2013-12-06 01:12:00 +00:00
CommandObjectDisassemble.h Change the disassemble option to specify the architecture from '-a' 2013-04-11 03:14:01 +00:00
CommandObjectExpression.cpp JITed functions can now have debug info and be debugged with debug and source info: 2014-03-24 23:10:19 +00:00
CommandObjectExpression.h Allow a multi-line expression to follow expression commands with options when there is no expression following the option terminating “—“. 2014-03-13 23:42:30 +00:00
CommandObjectFrame.cpp Give a better error when the index argument for “frame select” can’t be parsed. 2013-11-05 18:25:23 +00:00
CommandObjectFrame.h
CommandObjectGUI.cpp Fixing the Windows build for the changes brought in from the iohandler merge. 2014-01-31 18:48:46 +00:00
CommandObjectGUI.h Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
CommandObjectHelp.cpp Add OptionParser.h 2013-09-05 16:42:23 +00:00
CommandObjectHelp.h <rdar://problem/11914077> 2013-06-12 01:50:57 +00:00
CommandObjectLog.cpp Add OptionParser.h 2013-09-05 16:42:23 +00:00
CommandObjectLog.h
CommandObjectMemory.cpp Remove %zx in printf (only GCC supports it, not MSVC). 2014-03-08 17:15:35 +00:00
CommandObjectMemory.h
CommandObjectMultiword.cpp Fix autocompletion for multi-word commands. 2013-12-10 19:14:04 +00:00
CommandObjectPlatform.cpp Expose SBPlatform through the public API. 2013-11-20 21:07:01 +00:00
CommandObjectPlatform.h Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
CommandObjectPlugin.cpp Fixed internal code to not link against and code from "lldb/API/*". 2013-12-02 19:35:49 +00:00
CommandObjectPlugin.h Implementing plugins that provide commands. 2012-09-28 23:57:51 +00:00
CommandObjectProcess.cpp Stop messages from being emitted out of order when detaching. 2014-03-03 20:29:02 +00:00
CommandObjectProcess.h
CommandObjectQuit.cpp Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
CommandObjectQuit.h <rdar://problem/12786725> 2013-01-17 21:36:19 +00:00
CommandObjectRegister.cpp Fix Windows build using portable types for formatting the log outputs 2014-03-03 15:39:47 +00:00
CommandObjectRegister.h
CommandObjectSettings.cpp Add OptionParser.h 2013-09-05 16:42:23 +00:00
CommandObjectSettings.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectSource.cpp For logical backtrace work, lldb needs to track Module unloads etc & symoblicate an address based on a point in time 2013-12-06 01:12:00 +00:00
CommandObjectSource.h
CommandObjectSyntax.cpp Sort out a number of mismatched integer types in order to cut down the number of compiler warnings. 2013-06-19 19:04:53 +00:00
CommandObjectSyntax.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectTarget.cpp Cleanup some dead assignements reported by scan-build 2014-03-22 20:23:26 +00:00
CommandObjectTarget.h
CommandObjectThread.cpp This commit reworks how the thread plan's ShouldStopHere mechanism works, so that it is useful not only 2014-03-13 02:47:14 +00:00
CommandObjectThread.h Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
CommandObjectType.cpp <rdar://problem/12857181> 2014-02-07 22:12:55 +00:00
CommandObjectType.h Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
CommandObjectVersion.cpp Huge change to clean up types. 2013-07-11 22:46:58 +00:00
CommandObjectVersion.h Huge change to clean up types. 2013-07-11 22:46:58 +00:00
CommandObjectWatchpoint.cpp cleanup unreferenced functions 2014-03-20 06:08:36 +00:00
CommandObjectWatchpoint.h Use the "last created watchpoint" rather than asserting on watchpoint commands passing no watchpoint ID. 2013-07-02 02:09:46 +00:00
CommandObjectWatchpointCommand.cpp Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
CommandObjectWatchpointCommand.h Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
Makefile Fix a few more clang (3.2) warnings on Linux: 2012-12-07 22:21:08 +00:00