summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-09-20 22:54:49 +0000
committerJim Ingham <jingham@apple.com>2016-09-20 22:54:49 +0000
commit92d1960e3b63c4c9ca7e7af3463b39c46864c792 (patch)
treed8df5f1e30f279fa1a51213dc92d6899029d1cde /lldb/source/Commands/CommandObjectBreakpointCommand.cpp
parentb6b8f6c308ce165bc58a25f25f2226c18614e344 (diff)
downloadbcm5719-llvm-92d1960e3b63c4c9ca7e7af3463b39c46864c792.tar.gz
bcm5719-llvm-92d1960e3b63c4c9ca7e7af3463b39c46864c792.zip
Add some more tests for breakpoint serialization.
Serialize breakpoint names & the hardware_requested attributes. Also added a few missing affordances to SBBreakpoint whose absence writing the tests pointed out. <rdar://problem/12611863> llvm-svn: 282036
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpointCommand.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpointCommand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
index ed10a2454cc..18504947316 100644
--- a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
@@ -219,7 +219,7 @@ are no syntax errors may indicate that a function was declared but never called.
auto cmd_data = llvm::make_unique<BreakpointOptions::CommandData>();
cmd_data->user_source.SplitIntoLines(line.c_str(), line.size());
- bp_options->SetCommandDataCallback(std::move(cmd_data));
+ bp_options->SetCommandDataCallback(cmd_data);
}
}
@@ -251,7 +251,7 @@ are no syntax errors may indicate that a function was declared but never called.
cmd_data->script_source.assign(oneliner);
cmd_data->stop_on_error = m_options.m_stop_on_error;
- bp_options->SetCommandDataCallback(std::move(cmd_data));
+ bp_options->SetCommandDataCallback(cmd_data);
}
}
OpenPOWER on IntegriCloud