Some more pointer safety in Breakpoint.
authorZachary Turner <zturner@google.com>
Tue, 13 Sep 2016 17:53:38 +0000 (17:53 +0000)
committerZachary Turner <zturner@google.com>
Tue, 13 Sep 2016 17:53:38 +0000 (17:53 +0000)
commit4e4fbe821119fd168f3dd65fc88fa4220f6826fe
treea8766b18f241bc05bd31c01ab88d20a8f1c7e6cb
parent8ea02f4e1c050e2bccac28439265656e8a2645c4
Some more pointer safety in Breakpoint.

Plumb unique_ptrs<> all the way through the baton interface.
NFC, this is a minor improvement to remove the possibility of an
accidental pointer ownership issue.

Reviewed By: jingham
Differential Revision: https://reviews.llvm.org/D24495

llvm-svn: 281360
13 files changed:
lldb/include/lldb/Breakpoint/BreakpointOptions.h
lldb/include/lldb/Breakpoint/WatchpointOptions.h
lldb/include/lldb/Core/Baton.h
lldb/source/API/SBBreakpoint.cpp
lldb/source/Breakpoint/Breakpoint.cpp
lldb/source/Breakpoint/BreakpointLocation.cpp
lldb/source/Breakpoint/BreakpointOptions.cpp
lldb/source/Breakpoint/Watchpoint.cpp
lldb/source/Breakpoint/WatchpointOptions.cpp
lldb/source/Commands/CommandObjectBreakpointCommand.cpp
lldb/source/Commands/CommandObjectWatchpointCommand.cpp
lldb/source/Core/Baton.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp