Fix PR6473.

Clang's support for weakref is now better than llvm-gcc's :-)

We don't introduce a new symbol and we correctly mark undefined references weak only if there is no
definition or regular undefined references in the same file.

llvm-svn: 97733
6 files changed
tree: 3ad73e79deaacd19dc9bef42463727e396823377
  1. clang/
  2. compiler-rt/
  3. llvm/