History log of /external/llvm/test/Other/extract-linkonce.ll
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3343ddf466b414f811048dc9f3be2d55ffbb9658 25-Nov-2013 Bill Wendling <isanbard@gmail.com> 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
/external/llvm/test/Other/extract-linkonce.ll
880e8c0ad41345f353b819c51092baa8f05e1950 04-Mar-2013 Lang Hames <lhames@gmail.com> Check isDiscardableIfUnused, rather than hasLocalLinkage, when bumping
GlobalValue linkage up to ExternalLinkage in the ExtractGV pass. This
prevents linkonce and linkonce_odr symbols from being DCE'd.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176459 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Other/extract-linkonce.ll