Lines Matching defs:JDS

115                   PerJITDylibState &JDS);
133 PerJITDylibState &JDS);
136 PerJITDylibState &JDS);
138 PerJITDylibState &JDS,
142 PerJITDylibState &JDS);
146 PerJITDylibState &JDS);
265 PerJITDylibState *JDS =
268 if (!JDS) {
277 JDS->RecordedInits.add(I.toSpan<void (*)()>());
287 PerJITDylibState *JDS =
290 if (!JDS) {
299 JDS->RecordedInits.removeIfPresent(I);
349 auto *JDS = getJITDylibStateByHeaderAddr(DSOHandle);
350 assert(JDS && "JITDylib state not initialized");
351 JDS->AtExits.push_back({F, Arg});
357 PerJITDylibState *JDS = getJITDylibStateByHeaderAddr(DSOHandle);
359 if (JDS)
360 runAtExits(Lock, *JDS);
365 PerJITDylibState &JDS) {
366 AtExitsVector V = std::move(JDS.AtExits);
438 PerJITDylibState &JDS) {
440 InitSections.reserve(JDS.RecordedInits.numNewSections());
442 JDS.RecordedInits.processNewSections(
458 PerJITDylibState *JDS = getJITDylibStateByName(Path);
460 if (!JDS)
464 if (auto Err = dlopenFull(Lock, *JDS))
467 ++JDS->RefCount;
469 return JDS->Header;
474 PerJITDylibState &JDS) {
480 ExecutorAddr::fromPtr(JDS.Header)))
487 if (auto Err = dlopenInitialize(JDStateLock, JDS, *DepInfo))
494 << JDS.Name;
502 std::unique_lock<std::recursive_mutex> &JDStatesLock, PerJITDylibState &JDS,
505 auto I = DepInfo.find(ExecutorAddr::fromPtr(JDS.Header));
513 std::swap(JDS.Deps, OldDeps);
514 JDS.Deps.reserve(Deps.size());
520 << " while initializing " << JDS.Name;
528 if (auto Err = runInits(JDStatesLock, JDS))
544 auto *JDS = getJITDylibStateByHeaderAddr(DSOHandle);
546 if (!JDS) {
552 if (!JDS->referenced())
555 if (auto Err = dlupdateFull(Lock, *JDS))
563 PerJITDylibState &JDS) {
571 ExecutorAddr::fromPtr(JDS.Header)))
578 if (auto Err = runInits(JDStatesLock, JDS))
587 PerJITDylibState *JDS = getJITDylibStateByHeaderAddr(DSOHandle);
589 if (!JDS) {
595 --JDS->RefCount;
597 if (!JDS->referenced())
598 return dlcloseInitialize(Lock, *JDS);
605 PerJITDylibState &JDS) {
606 runAtExits(JDStatesLock, JDS);
607 JDS.RecordedInits.reset();
608 for (auto *DepJDS : JDS.Deps)
609 if (!JDS.referenced())