https://github.com/int3 commented:

from the bot:

> ld-prime never warns about category conflicts. The binary doesn’t even 
> contain the “overrides method” / “conflicts with same method” strings.
In ld-classic, the warnings are a side effect of merging. They are printed 
inside the MethodListAtom constructor in src/ld/passes/objc.cpp:2383-2390, 
while it builds the merged method list. When merging is off, no categories are 
passed in, so nothing is checked. In ld-classic, “merging implies checking” is 
exactly how it works.

so I think you are right about the original intention (as far as I can remember 
anyway), but idk if we should be turning it on by default if we want behavior 
parity with Apple's current linker

https://github.com/llvm/llvm-project/pull/241977
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to