MCPcopy Create free account
hub / github.com/apple-oss-distributions/dyld / objcClassHashTable

Method objcClassHashTable

common/DyldSharedCache.cpp:501–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

499}
500
501const objc::ClassHashTable* DyldSharedCache::objcClassHashTable() const
502{
503 if ( const ObjCOptimizationHeader* opts = this->objcOpts() ) {
504 if ( opts->classHashTableCacheOffset != 0 )
505 return (const objc::ClassHashTable*)((char*)this + opts->classHashTableCacheOffset);
506 return nullptr;
507 }
508 if ( const objc_opt::objc_opt_t* opts = this->oldObjcOpt() )
509 return opts->classOpt();
510 return nullptr;
511}
512
513const objc::SelectorHashTable* DyldSharedCache::objcSelectorHashTable() const
514{

Callers 2

DyldCacheMethod · 0.80

Calls 3

objcOptsMethod · 0.95
oldObjcOptMethod · 0.95
classOptMethod · 0.80

Tested by

no test coverage detected