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.


https://reviews.llvm.org/D45977



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to