llvm-project/lldb/source/Plugins/DynamicLoader
Jim Ingham 1460e4bf0e Get the breakpoint setting, and the Mac OS X DYLD trampolines and expression evaluator to handle Indirect
symbols correctly.  There were a couple of pieces to this.

1) When a breakpoint location finds itself pointing to an Indirect symbol, when the site for it is created
   it needs to resolve the symbol and actually set the site at its target.
2) Not all breakpoints want to do this (i.e. a straight address breakpoint should always set itself on the
   specified address, so somem machinery was needed to specify that.
3) I added some info to the break list output for indirect symbols so you could see what was happening. 
   Also I made it clear when we re-route through re-exported symbols.
4) I moved ResolveIndirectFunction from ProcessPosix to Process since it works the exact same way on Mac OS X
   and the other posix systems.  If we find a platform that doesn't do it this way, they can override the
   call in Process.
5) Fixed one bug in RunThreadPlan, if you were trying to run a thread plan after a "running" event had
   been broadcast, the event coalescing would cause you to miss the ThreadPlan running event.  So I added
   a way to override the coalescing.
6) Made DynamicLoaderMacOSXDYLD::GetStepThroughTrampolinePlan handle Indirect & Re-exported symbols.

<rdar://problem/15280639>

llvm-svn: 198976
2014-01-10 23:46:59 +00:00
..
Darwin-Kernel 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
MacOSX-DYLD 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
POSIX-DYLD 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
Static 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
CMakeLists.txt Convert to UNIX line endings. 2013-09-25 10:37:32 +00:00