[lldb-dev] FileSpec::Resolve and (sym)links

Vince Harron vharron at google.com
Mon Feb 23 18:40:39 PST 2015


Both with an without link resolve sounds useful.  I think this should be
controlled by a flag to Resolve.  This will also prevent you from
introducing any unintentional bugs.
On Feb 23, 2015 6:30 AM, "Pavel Labath" <labath at google.com> wrote:

> Greetings,
>
> I need to determine whether two filenames refer to the same file. The
> description on FileSpec::Resolve reads "Resolves user name and links in
> path, and overwrites the input
> argument with the resolved path.", which would seem to indicate that it
> already does symlink resolution. However, this is not the case.
>
> My question is what is correct. Is it the comment (and then the function
> should be extended to do symlink resolution), or the implementation (and
> then we should change the comment to reflect that)?
>
> I volunteer to do the work, but I am unsure what to do. Does anyone know
> what is the desired behavior?
>
> regards,
> pl
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150223/35a14d09/attachment.html>


More information about the lldb-dev mailing list