summaryrefslogtreecommitdiffstats
path: root/lldb/source/API
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-11-17 21:15:14 +0000
committerZachary Turner <zturner@google.com>2016-11-17 21:15:14 +0000
commit3165945a419e4882b94f73f005f9ea4d3d10a985 (patch)
treef8ecba9330545a9f0fa01053d2d237c46d85319f /lldb/source/API
parentca9d83475e94b3b1649f6f76b4cd6c345ea0404b (diff)
downloadbcm5719-llvm-3165945a419e4882b94f73f005f9ea4d3d10a985.tar.gz
bcm5719-llvm-3165945a419e4882b94f73f005f9ea4d3d10a985.zip
Convert Platform, Process, and Connection functions to StringRef.
All tests pass on Linux and Windows. llvm-svn: 287259
Diffstat (limited to 'lldb/source/API')
-rw-r--r--lldb/source/API/SBTarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp
index fa58e7298d3..a620f6f3093 100644
--- a/lldb/source/API/SBTarget.cpp
+++ b/lldb/source/API/SBTarget.cpp
@@ -186,7 +186,7 @@ SBProcess SBTarget::LoadCore(const char *core_file) {
if (target_sp) {
FileSpec filespec(core_file, true);
ProcessSP process_sp(target_sp->CreateProcess(
- target_sp->GetDebugger().GetListener(), NULL, &filespec));
+ target_sp->GetDebugger().GetListener(), "", &filespec));
if (process_sp) {
process_sp->LoadCore();
sb_process.SetSP(process_sp);
OpenPOWER on IntegriCloud