llvm-project/lldb
Greg Clayton ca512b397c Fixed an error in the type map for "char **" that was a bad memory smasher.
Anytime we had a valid python list that was trying to go from Python down into
our C++ API, it was allocating too little memory and it ended up smashing
whatever was next to the allocated memory.

Added typemap conversions for "void *, size_t" so we can get 
SBProcess::ReadMemory() working. Also added a typemap for "const void *, size_t"
so we can get SBProcess::WriteMemory() to work.

Fixed an issue in the DWARF parser where we weren't correctly calculating the
DeclContext for all types and classes. We now should be a lot more accurate.
Fixes include: enums should now be setting their parent decl context correctly.
We saw a lot of examples where enums in classes were not being properly
namespace scoped. Also, classes within classes now get properly scoped.

Fixed the objective C runtime pointer checkers to let "nil" pointers through
since these are accepted by compiled code. We also now don't call "abort()"
when a pointer doesn't validate correctly since this was wreaking havoc on
the process due to the way abort() works. We now just dereference memory
which should give us an exception from which we can easily and reliably 
recover.

llvm-svn: 123428
2011-01-14 04:54:56 +00:00
..
docs Spelling changes applied from lldb_spelling.diffs from Bruce Mitchener. 2011-01-08 20:28:42 +00:00
examples Spelling changes applied from lldb_spelling.diffs from Bruce Mitchener. 2011-01-08 20:28:42 +00:00
include Fixed an error in the type map for "char **" that was a bad memory smasher. 2011-01-14 04:54:56 +00:00
lib Makefile updates. 2011-01-06 22:11:47 +00:00
lldb.xcodeproj Bumped Xcode project version to 40 for lldb-40. 2011-01-12 04:03:58 +00:00
resources Bumped Xcode project version to 40 for lldb-40. 2011-01-12 04:03:58 +00:00
scripts Fixed an error in the type map for "char **" that was a bad memory smasher. 2011-01-14 04:54:56 +00:00
source Fixed an error in the type map for "char **" that was a bad memory smasher. 2011-01-14 04:54:56 +00:00
test Fixed an error in the type map for "char **" that was a bad memory smasher. 2011-01-14 04:54:56 +00:00
tools Bumped Xcode versions to lldb-39 and debugserver-125. 2011-01-10 19:28:56 +00:00
utils The recent change in argument parsing is messing up the emacs lldb mode's capability to properly 2010-12-20 22:58:58 +00:00
www Apply patch from Bruce Mitchener to fix spelling errors. 2011-01-07 17:16:03 +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 Ignore unknown pragmas. 2011-01-06 22:10:24 +00:00