Remember if a weakref of a symbol has been used.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 3 Jun 2015 21:52:06 +0000 (21:52 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 3 Jun 2015 21:52:06 +0000 (21:52 +0000)
commit5eb7481d035dc9ad67335d2e36ee2aab1c010025
treef2f863c95a68fd0583c59a96b96784a0e96c0db4
parentf3857c334ff3fdb3d187673476bb32ff06d0ebda
Remember if a weakref of a symbol has been used.

This avoids yet another last minute patching of the binding.

While at it, also simplify the weakref implementation a bit by not walking
past it in the expression evaluation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238982 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCSymbolELF.h
lib/MC/ELFObjectWriter.cpp
lib/MC/MCExpr.cpp
lib/MC/MCSymbolELF.cpp