[lld] [lld-macho] Implement ObjC category merging (-objc_category_merging) (PR #82928)

Jez Ng via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 28 15:59:04 PST 2024


================
@@ -259,6 +259,8 @@ void markLive() {
           dyn_cast_or_null<DylibSymbol>(symtab->find("dyld_stub_binder")))
     marker->addSym(stubBinder);
   for (ConcatInputSection *isec : inputSections) {
+    if (isec->isLinkOptimizedAway())
+      continue;
----------------
int3 wrote:

is this still necessary now that you've moved the category merging past `markLive()`?

https://github.com/llvm/llvm-project/pull/82928


More information about the llvm-commits mailing list