Let's not break compaitableity then and just check the index. The fewer cases this happens in the better IMO. I guess basically what you had at the start was actually the best.<div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 31, 2018, 9:23 AM James Henderson 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">jhenderson accepted this revision.<br>
jhenderson added a comment.<br>
This revision is now accepted and ready to land.<br>
<br>
LGTM.<br>
<br>
I haven't even been able to get the assembler to emit a STT_COMMON symbol. What does the assembly and command-line look like?<br>
<br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="https://reviews.llvm.org/D53782" rel="noreferrer" target="_blank">https://reviews.llvm.org/D53782</a><br>
<br>
<br>
<br>
</blockquote></div></div>