[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:22 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:
tangential: I see you flipped `-no_objc_relative_method_lists` to `-objc_relative_method_lists`, not sure why
but maybe we don't need either flag in this test any more, it seems like it was added "for tests that don't support this yet" (#104519)
https://github.com/llvm/llvm-project/pull/241977
More information about the llvm-branch-commits
mailing list