<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 7, 2018 at 2:53 AM Aleksandr Urakov via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">aleksandr.urakov added a comment.<br>
<br>
Yes, it does really need to be a VS PDB. Function-level linking is a linker's feature and I can't found support of this feature in lld, so I think module addresses inconsistency will not be reproducible with lld.<br></blockquote><div><br></div><div>Function level linking is a compiler feature, not a linker feature.  It's enabled via the /Gy option in the compiler and causes the compiler to put each function into its own COMDAT.  The linker can then use this to discard more functions (e.g. during /OPT:REF). </div><div><br></div><div>clang-cl also supports the /Gy option, right? </div></div></div>