llvm-project/lldb/source/Breakpoint
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
..
Breakpoint.cpp Fix a couple of typo's in breakpoint descriptions. 2014-03-04 03:09:00 +00:00
BreakpointID.cpp Patch from info from Daniel Malea that should fix the build on linux after fixes committed with revision 162860. 2012-09-04 14:55:50 +00:00
BreakpointIDList.cpp <rdar://problem/13069948> 2013-01-25 18:06:21 +00:00
BreakpointList.cpp Fixed the the breakpoint test case failures. 2013-11-09 00:03:31 +00:00
BreakpointLocation.cpp JITed functions can now have debug info and be debugged with debug and source info: 2014-03-24 23:10:19 +00:00
BreakpointLocationCollection.cpp Add "target.process.stop-on-shared-library-events" setting, and make it work. 2013-01-26 02:19:28 +00:00
BreakpointLocationList.cpp Get the breakpoint setting, and the Mac OS X DYLD trampolines and expression evaluator to handle Indirect 2014-01-10 23:46:59 +00:00
BreakpointOptions.cpp Hardened LLDB against NULL conditions being 2013-05-10 21:58:45 +00:00
BreakpointResolver.cpp Factor the code that was eliminating redundant breakpoint locations and moving 2013-09-27 01:16:58 +00:00
BreakpointResolverAddress.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
BreakpointResolverFileLine.cpp Factor the code that was eliminating redundant breakpoint locations and moving 2013-09-27 01:16:58 +00:00
BreakpointResolverFileRegex.cpp Remove unused local variable. 2013-10-04 19:17:40 +00:00
BreakpointResolverName.cpp Get the breakpoint setting, and the Mac OS X DYLD trampolines and expression evaluator to handle Indirect 2014-01-10 23:46:59 +00:00
BreakpointSite.cpp Add "target.process.stop-on-shared-library-events" setting, and make it work. 2013-01-26 02:19:28 +00:00
BreakpointSiteList.cpp Huge performance improvements when one breakpoint contains many locations. 2013-06-12 00:46:38 +00:00
CMakeLists.txt Convert to UNIX line endings. 2013-09-25 10:37:32 +00:00
Makefile
Stoppoint.cpp
StoppointCallbackContext.cpp Thread hardening part 3. Now lldb_private::Thread objects have std::weak_ptr 2012-02-21 00:09:25 +00:00
StoppointLocation.cpp <rdar://problem/13635174> 2013-10-11 19:48:25 +00:00
Watchpoint.cpp Huge change to clean up types. 2013-07-11 22:46:58 +00:00
WatchpointList.cpp Adding events when watchpoints are set or changed. 2012-12-18 02:03:49 +00:00
WatchpointOptions.cpp Since we use C++11, we should switch over to using std::unique_ptr when C++11 is being used. To do this, we follow what we have done for shared pointers and we define a STD_UNIQUE_PTR macro that can be used and it will "do the right thing". Due to some API differences in std::unique_ptr and due to the fact that we need to be able to compile without C++11, we can't use move semantics so some code needed to change so that it can compile with either C++. 2013-04-18 18:10:51 +00:00