HomePhabricator

[Reproducers] Fix lifetime issue

Authored by JDevlieghere on Apr 22 2019, 1:05 PM.

Description

[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

Details

Committed
JDevlieghereApr 22 2019, 1:05 PM
Parents
rGe9a2d1c3921a: [libcxx] Update gen_link_script.py to support different input and output
Branches
Unknown
Tags
Unknown