[PATCH] D100523: [lld][MachO] Add support for LC_VERSION_MIN_* load commands

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 22 08:46:07 PDT 2021


thakis added inline comments.


================
Comment at: lld/MachO/InputFiles.cpp:154
+  }
+  if (platformInfo->minimum >= config->platformInfo.minimum)
+    return true;
----------------
Should this just be `<=`? An .o file is compatible if it targets an older or at most as new platform as the output, right?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100523



More information about the llvm-commits mailing list