[lld-macho] Emit the right header flags for weak bindings/symbols
authorJez Ng <jezng@fb.com>
Thu, 27 Aug 2020 22:59:15 +0000 (15:59 -0700)
committerJez Ng <jezng@fb.com>
Fri, 28 Aug 2020 00:44:16 +0000 (17:44 -0700)
commit3da2130e45a4bd61df09bcdb15ec07e9fc71747c
tree6e0009853a5f75c91f85b41ea34188fd3641d276
parente263287c797f7d143cf2f38e2df1d5fcee94f9b0
[lld-macho] Emit the right header flags for weak bindings/symbols

Reviewed By: #lld-macho, smeenai

Differential Revision: https://reviews.llvm.org/D86574
lld/MachO/SyntheticSections.cpp
lld/MachO/SyntheticSections.h
lld/MachO/Writer.cpp
lld/test/MachO/weak-header-flags.s [new file with mode: 0644]