search for: _objc_direct_method

Displaying 1 result from an estimated 1 matches for "_objc_direct_method".

2020 Oct 12
2
[RFC] Analysis and runtime check of objc_direct/objc_non_runtime_protocol
...taining those information for each TU. This section for the link unit will have the combined information. We then post-process this information to emit error messages. For each direct method, we create a struct containing the method name and the name of the class where it’s defined, e.g. // struct _objc_direct_method { // char *class_name; // char *method_name // } Then each class will have a list of _objc_direct_method structs, which can be put in a special section, e.g constant [4 x %struct._objc_direct_method][//the list of the structs],section "__DATA,__direct_method" This special section f...