diff options
| author | Zachary Turner <zturner@google.com> | 2017-03-07 04:58:53 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2017-03-07 04:58:53 +0000 |
| commit | b3c6541c2c9d60d228c8f0cce02566f2460b149c (patch) | |
| tree | 23d1f591711950b578b705dcf92db6d7acb86390 | |
| parent | 3a6b091c23f7a6aada3daef49cbd4904107a5c96 (diff) | |
| download | bcm5719-llvm-b3c6541c2c9d60d228c8f0cce02566f2460b149c.tar.gz bcm5719-llvm-b3c6541c2c9d60d228c8f0cce02566f2460b149c.zip | |
Fix FreeBSD build.
llvm-svn: 297120
| -rw-r--r-- | lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp b/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp index ed8855e1753..1f02385d50d 100644 --- a/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp +++ b/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp @@ -362,8 +362,9 @@ Error ProcessFreeBSD::DoLaunch(Module *module, ProcessLaunchInfo &launch_info) { assert(m_monitor == NULL); FileSpec working_dir = launch_info.GetWorkingDirectory(); - if (working_dir && - (!working_dir.ResolvePath() || !llvm::sys::fs::is_directory(working_dir.GetPath())) { + namespace fs = llvm::sys::fs; + if (working_dir && (!working_dir.ResolvePath() || + !fs::is_directory(working_dir.GetPath()))) { error.SetErrorStringWithFormat("No such file or directory: %s", working_dir.GetCString()); return error; |

