<div dir="ltr"><div class="gmail_extra">Ping?</div><div class="gmail_extra"><br></div><div class="gmail_extra">It's time to revisit to this patch as LLD is now able to link the standard C++ library. For further development this feature is really needed, because otherwise you have to repeat all the library files in the .drectve section in the command line. This patch is the first step toward supporting input files in the .drectve section.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">In this patch I just moved InputFiles to Linking Context. I will modify WinLinkDriver in another patch to add new files to InputFiles as they appear in .drectve, but before that I would refactor Driver::link() to split it into small functions. The aim of the refactoring would be to make "input reading" part of the function a separate function, so that we'll be able to use it from WinLinkDriver. We wouldn't want to do that at once in order to keep patch size small.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">On Thu, Sep 19, 2013 at 11:19 PM, Rui Ueyama <span dir="ltr"><<a href="mailto:ruiu@google.com" target="_blank">ruiu@google.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">  Rebased to head.<br>
<br>
Hi kledzik, shankarke,<br>
<br>
<a href="http://llvm-reviews.chandlerc.com/D1569" target="_blank">http://llvm-reviews.chandlerc.com/D1569</a><br>
<br>
CHANGE SINCE LAST DIFF<br>
  <a href="http://llvm-reviews.chandlerc.com/D1569?vs=3950&id=4420#toc" target="_blank">http://llvm-reviews.chandlerc.com/D1569?vs=3950&id=4420#toc</a><br>
<div class="im"><br>
Files:<br>
  include/lld/Core/LinkingContext.h<br>
  include/lld/Core/Resolver.h<br>
  include/lld/Driver/Driver.h<br>
  include/lld/ReaderWriter/PECOFFLinkingContext.h<br>
</div>  lib/Core/InputFiles.cpp<br>
  lib/Core/LinkingContext.cpp<br>
  lib/Core/Resolver.cpp<br>
  lib/Driver/Driver.cpp<br>
  lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp<br>
</blockquote></div><br></div></div>