<div dir="ltr">On Wed, Oct 16, 2013 at 12:48 PM, Shankar Kalpathi Easwaran <span dir="ltr"><<a href="mailto:shankarke@gmail.com" target="_blank">shankarke@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
  The native file is written only in DEBUG mode. This was also previously discussed to make sure the performance is not hampered in release mode.</blockquote><div><br></div><div>Yes, I know that. What I asked is how much performance impact it would have. If it's significant, we don't want to always enable that even in DEBUG mode.</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
================<br>
Comment at: lib/Driver/Driver.cpp:143<br>
@@ +142,3 @@<br>
</div><div class="im">+  resultFile = nativeFile[0].get();<br>
+#endif<br>
+<br>
</div>----------------<br>
<div class="im">Rui Ueyama wrote:<br>
> This should be a separate function for readability.<br>
</div>Ok.<br>
<div class="im"><br>
================<br>
Comment at: test/elf/X86_64/dontignorezerosize-sections.test:6<br>
@@ -5,3 +5,2 @@<br>
<br>
</div><div class="im">-CHECK:    section-name:    .data<br>
 CHECK:    references:<br>
</div>----------------<br>
<div class="im">Rui Ueyama wrote:<br>
> Why do these test result change? This change shouldn't change the result right?<br>
</div>The atom is set to the default section.<br>
<br>
typeCode->.text<br>
typeData->.data and so on.<br>
<br>
<br>
<br>
<a href="http://llvm-reviews.chandlerc.com/D1955" target="_blank">http://llvm-reviews.chandlerc.com/D1955</a><br>
</blockquote></div><br></div></div>