hanchenye-llvm-project/lldb
Greg Clayton a39390699c Don't crash when a SBType is handed out through the API and later used after the module that owns the type is deleted.
The fix adds a std::weak_ptr<Module> into the TypeImpl and fills in the weak pointer when possible. It also checks to make sure the module is still alive prior to using it which should make our API safer to use.

<rdar://problem/15455145> 

llvm-svn: 212853
2014-07-11 22:43:15 +00:00
..
docs Fix typos. 2014-07-01 21:22:11 +00:00
examples Don't use "lldb." global variables in LLDB commands. 2014-07-11 22:41:30 +00:00
include Don't crash when a SBType is handed out through the API and later used after the module that owns the type is deleted. 2014-07-11 22:43:15 +00:00
lib Patch from Keno Fischer to enable JITLoaderGDB with mach-o file support. 2014-06-24 22:22:43 +00:00
lldb.xcodeproj Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
lldb.xcworkspace Move the performance test cases into their own project. 2013-03-18 23:05:00 +00:00
resources Update the lldb version number in the xcode project files from 310.99.0 to 320.99.0. 2014-01-10 06:12:10 +00:00
scripts Enable the ability to enable debug info generation when evaluating expressions. 2014-07-11 01:03:57 +00:00
source Don't crash when a SBType is handed out through the API and later used after the module that owns the type is deleted. 2014-07-11 22:43:15 +00:00
test Flipped intermittent test failures from skip to XFAIL. 2014-07-10 20:52:08 +00:00
tools __arm64__ and __aarch64__ #ifdef adjustments 2014-07-09 01:29:05 +00:00
utils LUI: Fix some issues causing crashes in the source view 2013-10-23 01:18:21 +00:00
www Add docs for the "thread.completed-expression" format entry. 2014-07-08 01:10:49 +00:00
.arcconfig Update .arcconfig to point to reviews.llvm.org 2014-05-20 21:24:59 +00:00
.gitignore Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
CMakeLists.txt Get the python scripting interface working on Windows. 2014-07-10 23:47:42 +00:00
INSTALL.txt Update INSTALL.txt to mention LLDB builds on Linux with GCC or Clang. 2013-02-21 22:37:18 +00:00
LICENSE.TXT
Makefile Add some missing defines that are already present in the cmake side. 2014-03-12 10:35:00 +00:00