commit | e69ab0b5ff9bb07dde3f30c0fb1eca00a4c86fea | [log] [tgz] |
---|---|---|
author | Mehdi Amini <mehdi.amini@apple.com> | Wed Apr 27 00:32:02 2016 +0000 |
committer | Mehdi Amini <mehdi.amini@apple.com> | Wed Apr 27 00:32:02 2016 +0000 |
tree | f55d9ca6028a52a8c807a2e08dea2060ac55cb7e | |
parent | 7f794cf47276a56de203bd5ee1b1f17194d23827 [diff] |
LTOCodeGenerator: turns linkonce(_odr) into weak_(odr) when present "MustPreserve" set Summary: If the linker requested to preserve a linkonce function, we should honor this even if we drop all uses. Reviewers: dexonsmith Subscribers: llvm-commits, joker.eph Differential Revision: http://reviews.llvm.org/D19527 From: Mehdi Amini <mehdi.amini@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267644 91177308-0d34-0410-b5e6-96231b3b80d8