This would cause us to pull in symbols (and code) that should
be unused.
Reviewed By: #lld-macho, thakis
Differential Revision: https://reviews.llvm.org/D102137
Reland 1a0afcf518717f61d45a1cdc6ad1a6436ec663b1
https://reviews.llvm.org/D95913
New change: fix UB bug caused by copying empty path/name. (since the executable does not have a name)
Differential Revision: https://reviews.llvm.org/D95913
Usage: -bundle_loader <executable>
This option specifies the executable that will load the build output file being linked.
When building a bundle, users can use the --bundle_loader to specify an executable
that contains symbols referenced, but not implemented in the bundle.