[lld-macho] Handle multiple LC_LINKER_OPTIONs
authorJez Ng <jezng@fb.com>
Wed, 16 Jun 2021 19:23:06 +0000 (15:23 -0400)
committerJez Ng <jezng@fb.com>
Wed, 16 Jun 2021 19:23:06 +0000 (15:23 -0400)
commiteeac6b2beceeb82382354d730b615159af3bc70e
treeb6c67788a3457f0609ae93ca2e8ad2e43e14490e
parentb8bbb9723af3ab5bfa11366480ecf42b45680101
[lld-macho] Handle multiple LC_LINKER_OPTIONs

We previously only parsed the first one.

Reviewed By: #lld-macho, thakis

Differential Revision: https://reviews.llvm.org/D104352
lld/MachO/InputFiles.cpp
lld/test/MachO/lc-linker-option.ll