[llvm-branch-commits] [lld] [lld][MachO] Make -objc_category_merging imply --check-category-conflicts (PR #241977)

Jez Ng via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Nov 12 15:51:21 PST 2026


================
@@ -36,6 +42,8 @@
 ## Check that we don't emit any warnings without --check-category-conflicts.
 # RUN: %no-fatal-warnings-lld -no_objc_relative_method_lists -dylib -lobjc %t/klass.o %t/cat1.o %t/cat2.o -o \
 # RUN:   /dev/null 2>&1 | FileCheck %s --implicit-check-not 'warning' --allow-empty
+# RUN: %no-fatal-warnings-lld -objc_relative_method_lists --no-check-category-conflicts -dylib -lobjc %t/klass.o %t/cat1.o %t/cat2.o -o \
+# RUN:   /dev/null 2>&1 | FileCheck %s --implicit-check-not 'warning' --allow-empty
----------------
int3 wrote:

> The new --no-check-category-conflicts RUN line doesn’t pass -objc_category_merging. Checking is already off by default, so that line passes even if the override is broken.

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


More information about the llvm-branch-commits mailing list