summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/main.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-04-22 20:05:02 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-04-22 20:05:02 +0000
commit32176baee78d145e2a02a9fda4ce906584c6a115 (patch)
tree0647ab246fb465e36bd3a19aeded4dbc819bd3e4 /lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/main.cpp
parente9a2d1c3921a19d4082eb132e055dc40c563e071 (diff)
downloadbcm5719-llvm-32176baee78d145e2a02a9fda4ce906584c6a115.tar.gz
bcm5719-llvm-32176baee78d145e2a02a9fda4ce906584c6a115.zip
[Reproducers] Fix lifetime issue
Deallocating the data recorder in during the ::Keep() operation causes problems down the line when exiting the debugger. The command interpreter still holds a pointer to the now deallocated object and has no way to know it no longer exists. This is exactly what the m_record flag was meant for, although it wasn't hooked up properly either. llvm-svn: 358916
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud