[llvm-commits] arm mc: fix relocation of an alias to an alias

Ivan Krasin krasin at chromium.org
Wed Oct 5 17:33:06 PDT 2011


Hi llvm team!

The patch attached fixes the problem that
ARMELFObjectWriter::ExplicitRelSym didn't resolve aliases.
For some reason, the single alias works just fine, but the alias to
alias crashes llc with the following message:

llc: /usr/local/google/home/krasin/llvm/include/llvm/MC/MCSymbol.h:111:
const llvm::MCSection &llvm::MCSymbol::getSection() const: Assertion
`isInSection() && "Invalid accessor!"' failed.

The full background of this issue is available here:
http://code.google.com/p/nativeclient/issues/detail?id=2340

OK to commit?

krasin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm_reloc_alias_alias.patch
Type: text/x-patch
Size: 1649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111005/1009a4c9/attachment.bin>


More information about the llvm-commits mailing list