reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
5520 RewriteObjCClassMetaData(ClassImplementation[i], Result); 5524 RewriteObjCCategoryImplDecl(CategoryImplementation[i], Result); 5538 Result += "\nstruct _objc_symtab {\n"; 5539 Result += "\tlong sel_ref_cnt;\n"; 5540 Result += "\tSEL *refs;\n"; 5541 Result += "\tshort cls_def_cnt;\n"; 5542 Result += "\tshort cat_def_cnt;\n"; 5543 Result += "\tvoid *defs[" + utostr(ClsDefCount + CatDefCount)+ "];\n"; 5544 Result += "};\n\n"; 5546 Result += "static struct _objc_symtab " 5548 Result += "\t0, 0, " + utostr(ClsDefCount) 5551 Result += "\t,&_OBJC_CLASS_"; 5552 Result += ClassImplementation[i]->getNameAsString(); 5553 Result += "\n"; 5557 Result += "\t,&_OBJC_CATEGORY_"; 5558 Result += CategoryImplementation[i]->getClassInterface()->getNameAsString(); 5559 Result += "_"; 5560 Result += CategoryImplementation[i]->getNameAsString(); 5561 Result += "\n"; 5564 Result += "};\n\n"; 5577 Result += "\nstruct _objc_module {\n"; 5578 Result += "\tlong version;\n"; 5579 Result += "\tlong size;\n"; 5580 Result += "\tconst char *name;\n"; 5581 Result += "\tstruct _objc_symtab *symtab;\n"; 5582 Result += "};\n\n"; 5583 Result += "static struct _objc_module " 5585 Result += "\t" + utostr(OBJC_ABI_VERSION) + 5587 Result += "};\n\n"; 5591 Result += "#pragma section(\".objc_protocol$B\",long,read,write)\n"; 5592 Result += "#pragma data_seg(push, \".objc_protocol$B\")\n"; 5594 Result += "static struct _objc_protocol *_POINTER_OBJC_PROTOCOL_"; 5595 Result += ProtDecl->getNameAsString(); 5596 Result += " = &_OBJC_PROTOCOL_"; 5597 Result += ProtDecl->getNameAsString(); 5598 Result += ";\n"; 5600 Result += "#pragma data_seg(pop)\n\n"; 5602 Result += "#pragma section(\".objc_module_info$B\",long,read,write)\n"; 5603 Result += "#pragma data_seg(push, \".objc_module_info$B\")\n"; 5604 Result += "static struct _objc_module *_POINTER_OBJC_MODULES = "; 5605 Result += "&_OBJC_MODULES;\n"; 5606 Result += "#pragma data_seg(pop)\n\n";