eugenis added a comment.

Linux linkers won't include a member of an archive only because it resolves a 
weak symbol, so in your example the answer is none.

ASan uses -Wl,-whole-archive to pull all its members, this will resolve 
operator new to ASan definition unless there is another definition in the main 
executable. In general, the first one in the order of command line arguments 
will be used.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54905/new/

https://reviews.llvm.org/D54905



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to