summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/StructuredData.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-09-14 19:07:35 +0000
committerJim Ingham <jingham@apple.com>2016-09-14 19:07:35 +0000
commit01f166647195b7ffff11d270648a679fb7b65bf1 (patch)
tree368f3c232731851a4f0a9b3d5e5038669aed6af0 /lldb/source/Core/StructuredData.cpp
parentdb30877477e0c6434fd4a62ada3cd7916a79efa5 (diff)
downloadbcm5719-llvm-01f166647195b7ffff11d270648a679fb7b65bf1.tar.gz
bcm5719-llvm-01f166647195b7ffff11d270648a679fb7b65bf1.zip
Add SB API's for writing breakpoints to & creating the from a file.
Moved the guts of the code from CommandObjectBreakpoint to Target (should have done it that way in the first place.) Added an SBBreakpointList class so there's a way to specify which breakpoints to serialize and to report the deserialized breakpoints. <rdar://problem/12611863> llvm-svn: 281520
Diffstat (limited to 'lldb/source/Core/StructuredData.cpp')
-rw-r--r--lldb/source/Core/StructuredData.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Core/StructuredData.cpp b/lldb/source/Core/StructuredData.cpp
index 22c3dd8b909..3866861b8c1 100644
--- a/lldb/source/Core/StructuredData.cpp
+++ b/lldb/source/Core/StructuredData.cpp
@@ -31,8 +31,8 @@ static StructuredData::ObjectSP ParseJSONValue(JSONParser &json_parser);
static StructuredData::ObjectSP ParseJSONObject(JSONParser &json_parser);
static StructuredData::ObjectSP ParseJSONArray(JSONParser &json_parser);
-StructuredData::ObjectSP StructuredData::ParseJSONFromFile(FileSpec &input_spec,
- Error &error) {
+StructuredData::ObjectSP
+StructuredData::ParseJSONFromFile(const FileSpec &input_spec, Error &error) {
StructuredData::ObjectSP return_sp;
if (!input_spec.Exists()) {
error.SetErrorStringWithFormat("input file %s does not exist.",
OpenPOWER on IntegriCloud