summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectLog.h
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-07-11 22:43:15 +0000
committerGreg Clayton <gclayton@apple.com>2014-07-11 22:43:15 +0000
commita39390699c2b1752840d9995325423997ff9799a (patch)
treec04aa3607ab6267610b364f4db616327151b8400 /lldb/source/Commands/CommandObjectLog.h
parentbca7db71778750687c74ef6490525a1952ce6a33 (diff)
downloadbcm5719-llvm-a39390699c2b1752840d9995325423997ff9799a.tar.gz
bcm5719-llvm-a39390699c2b1752840d9995325423997ff9799a.zip
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
Diffstat (limited to 'lldb/source/Commands/CommandObjectLog.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud