[PATCH] D104352: [lld-macho] Handle multiple LC_LINKER_OPTIONs

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 16 11:52:09 PDT 2021


int3 added inline comments.


================
Comment at: lld/test/MachO/lc-linker-option.ll:71
+!1 = !{!"-lc++"}
+!llvm.linker.options = !{!0, !0, !1}
 
----------------
> Out of interest, how do you end up with an obj file with several of these?

This line generates multiple LC_LINKER_OPTIONs. So the old test already had multiple, but since they were both `-lSystem` the issue wasn't noticed


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104352/new/

https://reviews.llvm.org/D104352



More information about the llvm-commits mailing list