Lines Matching full:bootstrap
119 // Creates a Bootstrap-Complete LinkGraph to run deferred actions.
163 // 1. Bootstrap the platform support code. in materialize()
485 Bootstrap = &BI; in MachOPlatform()
487 // Bootstrap process -- here be phase-ordering dragons. in MachOPlatform()
499 // unknown set of dependencies during bootstrap, and (b) these graphs may in MachOPlatform()
502 // We satisfy these constraints by implementing a bootstrap phase during which in MachOPlatform()
505 // end of the bootstrap process the deferred actions are attached to a final in MachOPlatform()
506 // "complete-bootstrap" graph that causes them to be run. in MachOPlatform()
508 // The bootstrap steps are as follows: in MachOPlatform()
520 // during bootstrap only. in MachOPlatform()
522 // 3. During bootstrap the MachOPlatformPlugin keeps a count of the number of in MachOPlatform()
539 // the support methods callable. The bootstrap is now complete. in MachOPlatform()
566 Bootstrap = nullptr; in MachOPlatform()
569 // Step (4) Add complete-bootstrap materialization unit and request. in MachOPlatform()
791 &MR.getTargetJITDylib() == &MP.PlatformJD && MP.Bootstrap; in modifyPassConfig()
793 // If we're in the bootstrap phase then increment the active graphs. in modifyPassConfig()
856 // If we're in the bootstrap phase then steal allocation actions and then in modifyPassConfig()
880 std::lock_guard<std::mutex> Lock(MP.Bootstrap.load()->Mutex); in bootstrapPipelineStart()
881 ++MP.Bootstrap.load()->ActiveGraphs; in bootstrapPipelineStart()
887 // Record bootstrap function names. in bootstrapPipelineRecordRuntimeFunctions()
889 {*MP.MachOHeaderStartSymbol, &MP.Bootstrap.load()->MachOHeaderAddr}, in bootstrapPipelineRecordRuntimeFunctions()
914 " detected during MachOPlatform bootstrap", in bootstrapPipelineRecordRuntimeFunctions()
930 MP.Bootstrap.load()->MachOHeaderAddr; in bootstrapPipelineRecordRuntimeFunctions()
931 MP.HeaderAddrToJITDylib[MP.Bootstrap.load()->MachOHeaderAddr] = in bootstrapPipelineRecordRuntimeFunctions()
940 std::lock_guard<std::mutex> Lock(MP.Bootstrap.load()->Mutex); in bootstrapPipelineEnd()
941 assert(MP.Bootstrap && "DeferredAAs reset before bootstrap completed"); in bootstrapPipelineEnd()
942 --MP.Bootstrap.load()->ActiveGraphs; in bootstrapPipelineEnd()
943 // Notify Bootstrap->CV while holding the mutex because the mutex is in bootstrapPipelineEnd()
944 // also keeping Bootstrap->CV alive. in bootstrapPipelineEnd()
945 if (MP.Bootstrap.load()->ActiveGraphs == 0) in bootstrapPipelineEnd()
946 MP.Bootstrap.load()->CV.notify_all(); in bootstrapPipelineEnd()
963 // isn't used during bootstrap. in associateJITDylibHeaderSymbol()
1404 : MP.Bootstrap.load()->DeferredAAs; in registerObjectPlatformSections()
1702 : MP.Bootstrap.load()->SymTab; in addSymbolTableRegistration()
1707 // Bail out if we're in the bootstrap phase -- registration of thees symbols in addSymbolTableRegistration()
1708 // will be attached to the bootstrap graph. in addSymbolTableRegistration()
1714 : MP.Bootstrap.load()->DeferredAAs; in addSymbolTableRegistration()