[LLVMdev] debugloc metadata variation

Sean Silva chisophugis at gmail.com
Wed Oct 22 17:41:22 PDT 2014


On Wed, Oct 22, 2014 at 4:57 PM, David Blaikie <dblaikie at gmail.com> wrote:

> Just working on some of the gmlt+fission debug info stuff and I came
> across a comment that might be relevant to reducing the number of distinct
> debugloc metadata nodes:
>
> "or some sub-optimal metadata that
>   // isn't structurally identical (see: file path/name info from clang,
> which
>   // includes the directory of the cpp file being built, even when the
> file name
>   // is absolute (such as an <> lookup header)))"
>
> Seems that the file path/name isn't well canonicalized so as to allow
> metadata level merging when linking. Might be helpful to figure out that
> issue at some point.
>

I wonder how much memory is spent on redundant path prefixes. E.g.

/really/really/really/long/path/to/foo.h
/really/really/really/long/path/to/bar.h

-- Sean Silva


>
> - David
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141022/983adf3b/attachment.html>


More information about the llvm-dev mailing list