+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.
Details
Details
- Reviewers
oontvoo - Group Reviewers
Restricted Project - Commits
- rG3c787d5a254e: [lld-macho] Don't emit spurious dupe method warnings for +load methods
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo