[llvm][MachO] fix adding weak def syms
authorCyndy Ishida <cyndy_ishida@apple.com>
Tue, 3 Mar 2020 00:58:14 +0000 (16:58 -0800)
committerCyndy Ishida <cyndy_ishida@apple.com>
Tue, 3 Mar 2020 01:00:24 +0000 (17:00 -0800)
commitb796acbba24fb97e260c00c45cdf356c7a635581
tree742113db85ec8c9879ae96d619b2e1dba649c7f4
parentd64a22a2add97ff1ae28acb18c9f6ea76a26ecf3
[llvm][MachO] fix adding weak def syms

the weak defined symbol flag was missing from the call site for adding
symbols which didn't cause issues because it invoked the default
parameter.
llvm/lib/TextAPI/MachO/TextStub.cpp