<div class="gmail_quote">On 7 October 2011 14:00, Ivan Krasin <span dir="ltr"><<a href="mailto:krasin@google.com">krasin@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Nick,<br>
<br>
could you please take a quick look? I see your recent change to this file.<br></blockquote><div><br></div><div>It's not clear to me that this is correct. Aliases can be weak and you shouldn't follow them if they are. (And the IR-level optimizers should probably be folding away aliases that are marked 'internal', so there's no sense doing it here.)</div>

<div><br></div><div>Nick</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="HOEnZb"><div class="h5">On Fri, Oct 7, 2011 at 9:49 AM, Jim Grosbach <<a href="mailto:grosbach@apple.com">grosbach@apple.com</a>> wrote:<br>
> This looks OK to me, but I'd really like if someone more familiar with the ELF bits would review the details.<br>
><br>
> -Jim<br>
><br>
> On Oct 5, 2011, at 5:33 PM, Ivan Krasin wrote:<br>
><br>
>> Hi llvm team!<br>
>><br>
>> The patch attached fixes the problem that<br>
>> ARMELFObjectWriter::ExplicitRelSym didn't resolve aliases.<br>
>> For some reason, the single alias works just fine, but the alias to<br>
>> alias crashes llc with the following message:<br>
>><br>
>> llc: /usr/local/google/home/krasin/llvm/include/llvm/MC/MCSymbol.h:111:<br>
>> const llvm::MCSection &llvm::MCSymbol::getSection() const: Assertion<br>
>> `isInSection() && "Invalid accessor!"' failed.<br>
>><br>
>> The full background of this issue is available here:<br>
>> <a href="http://code.google.com/p/nativeclient/issues/detail?id=2340" target="_blank">http://code.google.com/p/nativeclient/issues/detail?id=2340</a><br>
>><br>
>> OK to commit?<br>
>><br>
>> krasin<br>
>> <arm_reloc_alias_alias.patch>_______________________________________________<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>
><br>
</div></div></blockquote></div><br>