Re-did 60519. It turns out Darwin's handling of hidden visibility symbols are a bit more complicate than I expected. Both declarations and weak definitions still need a stub indirection. However, the stubs are in data section and they contain the addresses of the actual symbols.

llvm-svn: 60571
12 files changed
tree: b04c06f8152f3ad50cf9a947732418d8097e3477
  1. clang/
  2. llvm/