Lines Matching refs:stub
233 // Get the stub for this function
237 llvm::errs() << "unable to get stub layout." << "\n";
241 void *stub = stub_layout->allocateStub(callee_addr);
243 if (!stub) {
244 llvm::errs() << "unable to allocate stub." << "\n";
248 //LOGI("Function %s: using stub %p\n", sym->getName(), stub);
249 S = (uint32_t)(uintptr_t)stub;
526 void *stub = text->getStubLayout()->allocateStub((void *)A);
527 rsl_assert(stub && "cannot allocate stub.");
528 sym->setAddress(stub);
529 S = (int32_t)(intptr_t)stub;
531 rsl_assert(((P + 4) >> 28) == (S >> 28) && "stub is too far.");
537 void *stub = text->getStubLayout()->allocateStub((void *)S);
538 rsl_assert(stub && "cannot allocate stub.");
539 sym->setAddress(stub);
540 S = (int32_t)(intptr_t)stub;
542 rsl_assert(((P + 4) >> 28) == (S >> 28) && "stub is too far.");