[Lldb-commits] [PATCH] D45977: Always normalize FileSpec paths.

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 24 12:48:11 PDT 2018


aprantl added inline comments.


================
Comment at: source/Utility/FileSpec.cpp:241
   }
 
+  llvm::sys::path::remove_dots(resolved, true, LLVMPathSyntax(syntax));
----------------
`// Normalize the path by removing './' and other redundant components.`


================
Comment at: source/Utility/FileSpec.cpp:242
 
-  Normalize(resolved, m_syntax);
+  llvm::sys::path::remove_dots(resolved, true, LLVMPathSyntax(syntax));
 
----------------
Thanks!


https://reviews.llvm.org/D45977





More information about the lldb-commits mailing list