(original) (raw)
On Wed, Oct 22, 2014 at 4:57 PM, David Blaikie <dblaikie@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@cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev