Pass Binding instead of IsWeak to addBitcode.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 30 Aug 2016 20:53:26 +0000 (20:53 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 30 Aug 2016 20:53:26 +0000 (20:53 +0000)
commitcceb92a0754f9c59a82d9fa9c5312826eb94a642
tree290b895451b96d40b5751d00408e71da52c7a177
parent991b12bf09d05ac63697798218d259124488c613
Pass Binding instead of IsWeak to addBitcode.

We were computing the binding on both the caller and callee.

llvm-svn: 280156
lld/ELF/InputFiles.cpp
lld/ELF/SymbolTable.cpp
lld/ELF/SymbolTable.h