summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-readobj/llvm-readobj.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-11-22 17:58:12 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-11-22 17:58:12 +0000
commit6597992c691355d7f3d9fc4b5a277a9e2c837f6e (patch)
tree860c64f371a2fd8c298350e68133d8ad02d97db3 /llvm/tools/llvm-readobj/llvm-readobj.cpp
parent02160d580bac75f563cc346c3500221dbe0bcae4 (diff)
downloadbcm5719-llvm-6597992c691355d7f3d9fc4b5a277a9e2c837f6e.tar.gz
bcm5719-llvm-6597992c691355d7f3d9fc4b5a277a9e2c837f6e.zip
Add a fixed version of r195470 back.
The fix is simply to use CurI instead of I when handling aliases to avoid accessing a invalid iterator. original message: Convert linkonce* to weak* instead of strong. Also refactor the logic into a helper function. This is an important improve on mingw where the linker complains about mixed weak and strong symbols. Converting to weak ensures that the symbol is not dropped, but keeps in a comdat, making the linker happy. llvm-svn: 195477
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud