[lldb/Test] Use RAII for reproducer instrumentation data in unittest.
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 13 Apr 2020 17:23:35 +0000 (10:23 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 14 Apr 2020 21:46:39 +0000 (14:46 -0700)
commitcc220d40315be9512a7fda369811c4714cc8fdfb
tree0b0c66ac990dfb66f195f3f869663ea3b5630e0d
parent208a11ab3a7be7c3e5d3fae9dd4affdb01a0ed1f
[lldb/Test] Use RAII for reproducer instrumentation data in unittest.

Use a RAII object to manage the lifetime of the reproducer
instrumentation data.
lldb/unittests/Utility/ReproducerInstrumentationTest.cpp