Files
clang-p2996/lld/MachO/ObjC.cpp
Jez Ng 3c787d5a25 [lld-macho] Don't emit spurious dupe method warnings for +load methods
+load methods are static initializers and treated specially by the
runtime: all +load methods for a class & its categories are called when
loading that class, unlike regular methods where only one definition
will get called per message. Thus, there is no need to check for
duplicates.

Reviewed By: #lld-macho, oontvoo

Differential Revision: https://reviews.llvm.org/D147230
2023-03-30 14:33:43 -04:00

12 KiB