[Lldb-commits] [PATCH] D47495: Support relative paths with less than two components in DBGSourcePathRemapping

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue May 29 14:47:02 PDT 2018


JDevlieghere updated this revision to Diff 148986.
JDevlieghere edited the summary of this revision.
JDevlieghere added a comment.

- Address Greg's feedback


https://reviews.llvm.org/D47495

Files:
  source/Utility/FileSpec.cpp


Index: source/Utility/FileSpec.cpp
===================================================================
--- source/Utility/FileSpec.cpp
+++ source/Utility/FileSpec.cpp
@@ -793,6 +793,8 @@
     SetFile("", resolve);
     return;
   }
+  if (*this == FileSpec(".", false))
+    return;
   if (m_directory.IsEmpty()) {
     SetFile("", resolve);
     return;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47495.148986.patch
Type: text/x-patch
Size: 355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180529/910f5f04/attachment.bin>


More information about the lldb-commits mailing list