[PATCH] D19527: LTOCodeGenerator: add linkonce to llvm.used when in "MustPreserve" set

Duncan P. N. Exon Smith via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 16:27:33 PDT 2016


LGTM.

> On 2016-Apr-26, at 12:04, Mehdi AMINI <mehdi.amini at apple.com> wrote:
> 
> joker.eph updated this revision to Diff 55057.
> joker.eph marked an inline comment as done.
> joker.eph added a comment.
> 
> Address Duncan's comments: turn into weak(_odr) instead of using the llvm.used global
> 
> 
> http://reviews.llvm.org/D19527
> 
> Files:
>  lib/LTO/LTOCodeGenerator.cpp
>  test/tools/lto/hide-linkonce-odr.ll
> 
> <D19527.55057.patch>



More information about the llvm-commits mailing list