[PATCH] D46624: [ELF] --warn-backref: don't report backref to weak symbols.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 9 13:37:18 PDT 2018


MaskRay added a comment.

A real world example:

https://git.gnome.org/browse/libxml2/tree/threads.c defines weak symbols `#pragma weak pthread_self` that are intended to be overriden later by (libpthread.a)


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D46624





More information about the llvm-commits mailing list