[Lldb-commits] [PATCH] D45977: Always normalize FileSpec paths.
Adrian Prantl via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 23 16:28:30 PDT 2018
aprantl added a comment.
> Also not sure if the LLVM stuff will try to substitute in the current working directory for "."?
No it won't, remove_dots() has no side effects. There's a separate make_absolute() function. That one will cause another copy. Personally, if I have a choice between a redundant string copy and maintaining more code, I'd pick the string copy unless we know that it really matters.
More information about the lldb-commits