Lines Matching defs:thunk
435 // Return the last thunk for the given target if it is in range,
460 // it adds a thunk after the section chunk that contains the relocation.
461 // If the latest thunk for the specific target is in range, that is used
462 // instead of creating a new thunk. All range checks are done with the
505 // it), giving us some uncertainty once we have added one thunk.
517 // If the target isn't in range, hook it up to an existing or new thunk.
518 auto [thunk, wasNew] =
521 Chunk *thunkChunk = thunk->getChunk();
534 auto insertion = thunkSymtabIndices.insert({{file, thunk}, ~0U});
537 thunkSymbolIndex = file->addRangeThunkSymbol(thunk);
579 // a range extension thunk.
1669 // If chunk has EC entry thunk, reserve a space for an offset to the
1670 // thunk.
2093 // thunk (e.g. because the DLL that defines it will be delay-loaded) and, if
2094 // so, add the load thunk to the address taken (.gfids) table.
2220 if (auto thunk = dyn_cast<ECExportThunkChunk>(sym->getChunk())) {
2221 hexpthkSec->addChunk(thunk);
2222 exportThunks.push_back({thunk, thunk->target});
2224 // Allow section chunk to be treated as an export thunk if it looks like
2231 // If EXP+#foo is an export thunk of a hybrid patchable function,
2410 // If the entry is an EC export thunk, use its target instead.