[PATCH] D13330: Implement __attribute__((unique_instantiation))

Keno Fischer via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 4 18:02:29 PDT 2015


loladiro added a comment.

Ok, I have tested this more extensively now. I'm happy with the results. Here's a patch that applies this to LLVM for example: https://gist.github.com/Keno/79b08a4b187c4d950dd0

Before:

  $llvm-objdump -weak-bind libLLVM-3.8svn.dylib | wc -l
       300

After:

  $llvm-objdump -weak-bind libLLVM-3.8svn.dylib | wc -l
       15

with none of those being LLVM symbols.


http://reviews.llvm.org/D13330





More information about the cfe-commits mailing list