llvm-project/lldb
Jason Molenda 1f3966bebd Add "QAddressIsExecutable" packet to debugserver. Used to test
whether a given address is in an executable region of memory or
not.  I haven't written the lldb side that will use this packet it
hasn't been tested yet but it's a simple enough bit of code.

I want to have this feature available for the unwinder code.  When
we're stopped at an address with no valid symbol context, there are
a number of questions I'd like to ask --

  is the current pc value in an executable region (e.g. did they
  jump to unallocated/unexecutable memory?  we know how to unwind
  from here if so.)

  Is the stack pointer or the frame pointer the correct register
  to use to find the caller's saved pc value?

Once we're past the first frame we can trust things like eh_frame
and ABI unwind schemes but the first frame is challenging and having
a way to check potential addresses to see if they're executable or
not would help narrow down the possibilities a lot.

llvm-svn: 144074
2011-11-08 04:28:12 +00:00
..
docs Add reference to ToT/examples/customization for more customization examples. 2011-10-12 19:20:04 +00:00
examples Add an example customization directory which uses a binutils.py module to provide 2011-10-28 23:30:28 +00:00
include Do a better job of detecting when a breakpoint command has set the target running again (except you have to ignore 2011-11-08 03:00:11 +00:00
lib build: liblldb now depends on the linker library 2011-11-01 17:32:01 +00:00
lldb.xcodeproj Bumped Xcode project version for lldb-86 and debugserver-151 2011-11-07 22:50:17 +00:00
lldb.xcworkspace Adding a Xcode workspace for lldb. 2011-01-27 20:15:39 +00:00
resources Bumped Xcode project version for lldb-86 and debugserver-151 2011-11-07 22:50:17 +00:00
scripts Updated LLVM/Clang to pick up a fix for imports of 2011-11-04 22:46:46 +00:00
source Bitfields in uint8_t's will have format eFormatChar and DataExtractor::Dump 2011-11-08 03:52:17 +00:00
test Do a better job of detecting when a breakpoint command has set the target running again (except you have to ignore 2011-11-08 03:00:11 +00:00
tools Add "QAddressIsExecutable" packet to debugserver. Used to test 2011-11-08 04:28:12 +00:00
utils Add a utility script: 2011-11-04 01:05:29 +00:00
www Updated the grossly out of date status page. 2011-10-27 01:33:27 +00:00
INSTALL.txt You'll need to be running Mac OS X to get lldb to build right now. 2010-06-09 07:29:26 +00:00
LICENSE.TXT test commit 2010-06-09 03:55:24 +00:00
Makefile build: Add some -Wno's for things LLDB isn't clean on yet. 2011-10-31 22:50:55 +00:00