diff options
author | Zachary Turner <zturner@google.com> | 2016-09-23 22:11:51 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-09-23 22:11:51 +0000 |
commit | 27a5c2b3027605245b104277c26768dc6896304b (patch) | |
tree | e94dfc0cc8c74dce7a39c9c90a388af0e7e54aef /lldb/source/Host/windows/ProcessLauncherWindows.cpp | |
parent | 382e5d991fadded6e041142fe141a963172fc68a (diff) | |
download | bcm5719-llvm-27a5c2b3027605245b104277c26768dc6896304b.tar.gz bcm5719-llvm-27a5c2b3027605245b104277c26768dc6896304b.zip |
Change FileAction::GetPath() to return a StringRef.
llvm-svn: 282306
Diffstat (limited to 'lldb/source/Host/windows/ProcessLauncherWindows.cpp')
-rw-r--r-- | lldb/source/Host/windows/ProcessLauncherWindows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/windows/ProcessLauncherWindows.cpp b/lldb/source/Host/windows/ProcessLauncherWindows.cpp index ef3656af41f..aa572706c6b 100644 --- a/lldb/source/Host/windows/ProcessLauncherWindows.cpp +++ b/lldb/source/Host/windows/ProcessLauncherWindows.cpp @@ -124,7 +124,7 @@ ProcessLauncherWindows::GetStdioHandle(const ProcessLaunchInfo &launch_info, secattr.nLength = sizeof(SECURITY_ATTRIBUTES); secattr.bInheritHandle = TRUE; - const char *path = action->GetPath(); + llvm::StringRef path = action->GetPath(); DWORD access = 0; DWORD share = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE; DWORD create = 0; |