diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-11-25 05:20:58 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-11-25 05:20:58 +0000 |
commit | 3343ddf466b414f811048dc9f3be2d55ffbb9658 (patch) | |
tree | 1861095166c17292aa23e4e9eaf4e9eb32966f85 /tools/llvm-ar | |
parent | 16f81f783207fa359f3afc589e2135d4805c9b98 (diff) | |
download | external_llvm-3343ddf466b414f811048dc9f3be2d55ffbb9658.zip external_llvm-3343ddf466b414f811048dc9f3be2d55ffbb9658.tar.gz external_llvm-3343ddf466b414f811048dc9f3be2d55ffbb9658.tar.bz2 |
Merging r195477:
------------------------------------------------------------------------
r195477 | rafael | 2013-11-22 09:58:12 -0800 (Fri, 22 Nov 2013) | 13 lines
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.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@195603 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ar')
0 files changed, 0 insertions, 0 deletions