[PATCH] D103774: [lld/mac] Use fewer magic numbers in magic $ld$ handling code

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 6 13:12:56 PDT 2021


thakis added inline comments.


================
Comment at: lld/MachO/InputFiles.cpp:978
 bool DylibFile::handleLDSymbol(StringRef originalName) {
   if (!originalName.startswith("$ld$"))
     return false;
----------------
(can't `consume_front` here since we want to pass on the full originalName below)


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

https://reviews.llvm.org/D103774



More information about the llvm-commits mailing list