[PATCH] D103971: [lld-macho] Rework mergeFlag to closer mimic what LD64 does.

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 17 10:51:45 PDT 2021


int3 accepted this revision.
int3 added a comment.
This revision is now accepted and ready to land.

Thanks!



================
Comment at: lld/MachO/ConcatOutputSection.cpp:360
+  case S_SYMBOL_STUBS:
+    adjusted = input->flags;
+    break;
----------------
since `S_REGULAR` is zero, there's no need to do the bitwise or for the default case


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103971



More information about the llvm-commits mailing list