[PATCH] D97426: [lld-macho] Infer machine type from input files

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 1 12:41:58 PST 2021


int3 added a comment.

I realize we should actually validate against the platform as well. ld64 likewise can infer the platform from its inputs. We could make lld require the platform to be explicitly specified, however I think sprinkling `-platform_version` all over our tests is going to be pretty ugly. How do you feel about aliases like `%lld-x86_64` and `%lld-arm64` that expand into include both an arch and a platform flag? I expect that most of our tests will be fine with using e.g. just the macOS platform.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97426



More information about the llvm-commits mailing list