<div><div dir="auto">+Reid and Alexandre, who have been doing work in this area recently </div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 23, 2019 at 4:07 AM Leonardo Santagada via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Is anyone working on making the PDB generation on LLD faster? Looking<br>
of a trace for linking one of our binaries (it takes 1min6s-1min20s) I<br>
see two things:<br>
<br>
1) LookupBucketFor(Val, ConstFoundBucket); takes 35s so almost half of<br>
the time of linking, mostly finding duplicates<br>
2) There is no parallelization inside of addObjectsToPDB<br>
<br>
Is anyone working on those? Also has anyone thought about merging .obj<br>
files to deduplicate type infomation so we can do the linking on<br>
projects to generate something like a lib file, but deduplicated debug<br>
information (as far as I know actual .lib just put all pdbs or /Z7<br>
debug info inside a file without dedup).<br>
<br>
Just looking at the code it seems it is much more mature and also the<br>
choice of SHA1_8 seems interesting (still don't know why not use<br>
xxHash64).<br>
<br>
ps: My code to add ghashes to msvc compiled .obj files is almost ready<br>
to be pushed as an option for llvm-objcopy.<br>
<br>
-- <br>
<br>
Leonardo Santagada<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>