summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/freebsd/Host.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/freebsd/Host.cpp')
-rw-r--r--lldb/source/Host/freebsd/Host.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/freebsd/Host.cpp b/lldb/source/Host/freebsd/Host.cpp
index a558c577100..aeab780ac45 100644
--- a/lldb/source/Host/freebsd/Host.cpp
+++ b/lldb/source/Host/freebsd/Host.cpp
@@ -102,7 +102,7 @@ GetFreeBSDProcessArgs(const ProcessInstanceInfoMatch *match_info_ptr,
cstr = data.GetCStr(&offset);
if (cstr)
- proc_args.AppendArgument(cstr);
+ proc_args.AppendArgument(llvm::StringRef(cstr));
else
return true;
}
OpenPOWER on IntegriCloud