<div dir="ltr">Shankar,<div><br></div><div style>I tried not to change the behavior of the existing code when I was doing this. I splitt the function and felt like it became easier to read, but I still don't fully understand the logic of createAtom. Can I ask a few questions?</div>

<div style><br></div><div style>- Looks like we create both LayoutBefore and LayoutAfter references. Do we really need to create both? If A-layout-before-B is equivalent to B-layout-after-A it doesn't look necessary.</div>

<div style><br></div><div style>- The constraints and the reason that weak symbols need to satisfy about Reference are not very clear. Why are we handling weak symbols in such a way and how these References are handled in the later passes?</div>

<div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">On Wed, Jun 5, 2013 at 2:52 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">Hi shankarke,<br>
<br>
 - Split createAtom() in lib/ReaderWriter/ELF/File.h into small methods.<br>
 - Added comments to code in other methods.<br>
<br>
No functionality changes.<br>
<br>
<a href="http://llvm-reviews.chandlerc.com/D921" target="_blank">http://llvm-reviews.chandlerc.com/D921</a><br>
<br>
Files:<br>
  lib/ReaderWriter/ELF/File.h<br>
  test/elf/X86_64/weak-override.test<br>
</blockquote></div><br></div></div>