[PATCH] D81326: lld: improve the `-arch` handling for MachO

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 8 11:35:21 PDT 2020


compnerd closed this revision.
compnerd marked an inline comment as done.
compnerd added a comment.

rGfcdf7578aa697526e5eee05fb0e5390c4ef02eb9 <https://reviews.llvm.org/rGfcdf7578aa697526e5eee05fb0e5390c4ef02eb9>



================
Comment at: lld/MachO/Driver.cpp:99
+  case llvm::MachO::AK_x86_64:
+  case llvm::MachO::AK_x86_64h:
+    return createX86_64TargetInfo();
----------------
int3 wrote:
> I assume the `h` suffix means Haswell
Yes, the `x86_64h` is the Haswell indicator.  This allows for non-Haswell and Haswell targets to be lipo'ed into a single fat binary.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81326





More information about the llvm-commits mailing list