<div dir="ltr">I'd set 4 to StringTableSize if the actual string size field in the string table is 0, so that everywhere except here will safely assume that the string table with size 4 has no content.</div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Sun, Feb 23, 2014 at 2:38 AM, Nico Rieck <span dir="ltr"><<a href="mailto:nico.rieck@gmail.com" target="_blank">nico.rieck@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

COFF object files with 0 as string table size are currently rejected.<br>
This prevents us from reading object files written by tools like cvtres<br>
that violate the PECOFF spec and write 0 instead of 4 for the size of an<br>
empty string table.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Nico<br>
</font></span><br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>