<div dir="ltr">Wasn't our (lld/ELF's) position on debug info size that we should focus on providing a great split-dwarf workflow and not try go too far out of our way to deduplicate or otherwise reduce debug info size inside LLD? I recall there being some patches that made linking of large debug binaries like 1.5GB+ clang faster, but we decided to reject those changes because split-dwarf was the "right" solution.<div><br></div><div>Rafael, Rui?</div><div><br></div><div>(I even recall Rafael saying at one point that a great split-dwarf workflow was one of the key things he considered as necessary for him to consider LLD "done")</div><div><br></div><div>-- Sean Silva</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 15, 2017 at 7:47 AM, George Rimar via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif"><span class="">
<p>><span style="color:rgb(33,33,33);font-size:12pt">Not quite sure what you mean by "on linker side" - but I guess you mean using linker features like comdats etc, rather than DWARF parsing/reassembly/etc.</span></p>
<p><span style="color:rgb(33,33,33);font-size:12pt"><br>
</span></p>
</span><p><span style="color:rgb(33,33,33);font-size:12pt">I mean that it probably not a good idea for external library. I feel it is much more convinent to do such proccessing in a linker.</span></p>
<p>Linker do and knows much more about things like sections that are ICFed, eliminated, about COMDATs and many things like strings dedups.<br>
</p>
<p>So it can rebuild relocations and perform DWARF deduplication probably in a faster/more convinent way probably than external API could provide.<br>
</p>
<p>Honestly I did not yet think about it too much, just current feelings.<br>
</p>
<p><br>
</p>
<p>Geоrge.<br>
</p>
</div>

<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>