[Lldb-commits] [PATCH] D54084: [LLDB] Fix FreeBSD build

David CARLIER via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Nov 4 13:10:16 PST 2018


devnexen created this revision.
devnexen added reviewers: JDevlieghere, tatyana-krasnukha.
devnexen created this object with visibility "All Users".
Herald added subscribers: lldb-commits, emaste.

ResolvePath is no longer into FileSpec class


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D54084

Files:
  source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp


Index: source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
===================================================================
--- source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
+++ source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
@@ -375,8 +375,7 @@
 
   FileSpec working_dir = launch_info.GetWorkingDirectory();
   namespace fs = llvm::sys::fs;
-  if (working_dir && (!working_dir.ResolvePath() ||
-                      !fs::is_directory(working_dir.GetPath()))) {
+  if (working_dir && !fs::is_directory(working_dir.GetPath())) {
     error.SetErrorStringWithFormat("No such file or directory: %s",
                                    working_dir.GetCString());
     return error;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54084.172527.patch
Type: text/x-patch
Size: 687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181104/df796005/attachment.bin>


More information about the lldb-commits mailing list