| /openbsd-src/gnu/gcc/gcc/cp/ |
| H A D | method.c | 91 tree thunk; in make_thunk() local 111 for (thunk = DECL_THUNKS (function); thunk; thunk = TREE_CHAIN (thunk)) in make_thunk() 112 if (DECL_THIS_THUNK_P (thunk) == this_adjusting in make_thunk() 113 && THUNK_FIXED_OFFSET (thunk) == d in make_thunk() 114 && !virtual_offset == !THUNK_VIRTUAL_OFFSET (thunk) in make_thunk() 117 ? tree_int_cst_equal (THUNK_VIRTUAL_OFFSET (thunk), in make_thunk() 119 : THUNK_VIRTUAL_OFFSET (thunk) == virtual_offset))) in make_thunk() 120 return thunk; in make_thunk() 131 thunk = build_decl (FUNCTION_DECL, NULL_TREE, TREE_TYPE (function)); in make_thunk() 132 DECL_LANG_SPECIFIC (thunk) = DECL_LANG_SPECIFIC (function); in make_thunk() [all …]
|
| H A D | semantics.c | 3038 tree thunk; in emit_associated_thunks() local 3040 for (thunk = DECL_THUNKS (fn); thunk; thunk = TREE_CHAIN (thunk)) in emit_associated_thunks() 3042 if (!THUNK_ALIAS (thunk)) in emit_associated_thunks() 3044 use_thunk (thunk, /*emit_p=*/1); in emit_associated_thunks() 3045 if (DECL_RESULT_THUNK_P (thunk)) in emit_associated_thunks() 3049 for (probe = DECL_THUNKS (thunk); in emit_associated_thunks() 3055 gcc_assert (!DECL_THUNKS (thunk)); in emit_associated_thunks()
|
| H A D | class.c | 6598 dump_thunk (FILE *stream, int indent, tree thunk) in dump_thunk() argument 6601 tree name = DECL_NAME (thunk); in dump_thunk() 6605 (void *)thunk, in dump_thunk() 6606 !DECL_THUNK_P (thunk) ? "function" in dump_thunk() 6607 : DECL_THIS_THUNK_P (thunk) ? "this-thunk" : "covariant-thunk", in dump_thunk() 6609 if (DECL_THUNK_P (thunk)) in dump_thunk() 6611 HOST_WIDE_INT fixed_adjust = THUNK_FIXED_OFFSET (thunk); in dump_thunk() 6612 tree virtual_adjust = THUNK_VIRTUAL_OFFSET (thunk); in dump_thunk() 6617 else if (DECL_THIS_THUNK_P (thunk)) in dump_thunk() 6624 if (THUNK_ALIAS (thunk)) in dump_thunk() [all …]
|
| H A D | ChangeLog-2001 | 1236 of a virtual thunk should be from declaring base. 1385 (init_decl_processing): Remove no-vtable-thunk code. 1387 (mark_vtable_entries): Remove no-vtable-thunk code. 1388 * error.c (dump_decl): Remove no-vtable-thunk code. 1390 * init.c (initialize_vtable_ptrs): Remove no-vtable-thunk 1392 * rtti.c (build_headof): Remove no-vtable-thunk code. 1400 no-vtable-thunk code. 1403 no-vtable-thunk code. 1404 (build_rtti_vtbl_entries): Remove no-vtable-thunk code. 1405 (build_vtable_entry): Remove no-vtable-thunk code. [all …]
|
| H A D | ChangeLog-2002 | 48 (get_vcall_index): Always expect a non-thunk. 50 overriding a thunk. Pass get_vcall_index a non-thunk. 181 * dump1.c (cp_dump_tree): Adjust thunk dumping. 653 (update_vtable_entry_for_fn): Generate covariant thunk. 656 Finish covariant thunk here. Adjust thunk generation. 658 Adjust thunk dumping. 667 * semantics.c (emit_associated_thunks): Walk covariant thunk lists. 4252 * method.c (make_thunk): If !flag_weak, give the thunk the
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/cp/ |
| H A D | method.c | 280 tree thunk; local 299 for (thunk = DECL_THUNKS (function); thunk; thunk = TREE_CHAIN (thunk)) 300 if (THUNK_DELTA (thunk) == d 301 && ((THUNK_VCALL_OFFSET (thunk) != NULL_TREE) 303 && (THUNK_VCALL_OFFSET (thunk) 304 ? tree_int_cst_equal (THUNK_VCALL_OFFSET (thunk), 307 return thunk; 315 thunk = build_decl (FUNCTION_DECL, thunk_id, TREE_TYPE (function)); 316 DECL_LANG_SPECIFIC (thunk) = DECL_LANG_SPECIFIC (function); 318 SET_DECL_ASSEMBLER_NAME (thunk, thunk_id); [all …]
|
| H A D | semantics.c | 2287 tree thunk; local 2288 for (thunk = DECL_THUNKS (fn); thunk; thunk = TREE_CHAIN (thunk)) 2289 use_thunk (thunk, /*emit_p=*/1);
|
| /openbsd-src/gnu/gcc/gcc/config/sh/ |
| H A D | symbian.c | 397 tree thunk; in sh_symbian_handle_dll_attribute() local 487 for (thunk = DECL_THUNKS (function); thunk; thunk = TREE_CHAIN (thunk)) in sh_symbian_handle_dll_attribute() 488 if (TREE_CODE (thunk) == FUNCTION_DECL) in sh_symbian_handle_dll_attribute() 489 symbian_add_attribute (thunk, attr); in sh_symbian_handle_dll_attribute() 496 for (thunk = DECL_THUNKS (node); thunk; thunk = TREE_CHAIN (thunk)) in sh_symbian_handle_dll_attribute() 497 if (TREE_CODE (thunk) == FUNCTION_DECL) in sh_symbian_handle_dll_attribute() 498 symbian_add_attribute (thunk, attr); in sh_symbian_handle_dll_attribute()
|
| /openbsd-src/gnu/llvm/lld/MachO/Arch/ |
| H A D | ARM64.cpp | 43 void populateThunk(InputSection *thunk, Symbol *funcSym) override; 138 void ARM64::populateThunk(InputSection *thunk, Symbol *funcSym) { in populateThunk() argument 139 thunk->align = 4; in populateThunk() 140 thunk->data = {reinterpret_cast<const uint8_t *>(thunkCode), in populateThunk() 142 thunk->relocs.push_back({/*type=*/ARM64_RELOC_PAGEOFF12, in populateThunk() 146 thunk->relocs.push_back({/*type=*/ARM64_RELOC_PAGE21, in populateThunk()
|
| /openbsd-src/gnu/usr.bin/perl/t/op/ |
| H A D | attrs.t | 107 @attrs = eval 'attributes::get $thunk'; 279 my $thunk := undef;
|
| /openbsd-src/gnu/llvm/lld/COFF/ |
| H A D | InputFiles.h | 161 uint32_t addRangeThunkSymbol(Symbol *thunk) { in addRangeThunkSymbol() argument 162 symbols.push_back(thunk); in addRangeThunkSymbol()
|
| H A D | DLL.cpp | 525 : thunk(c), ctx(ctx) { in DelayAddressChunk() 532 write64le(buf, thunk->getRVA() + ctx.config.imageBase); in writeTo() 538 write32le(buf, (thunk->getRVA() + ctx.config.imageBase) | bit); in writeTo() 546 Chunk *thunk; member in lld::coff::__anonc0c5fbab0111::DelayAddressChunk
|
| H A D | Writer.cpp | 472 auto [thunk, wasNew] = getThunk(lastThunks, sym, p, rel.Type, margin); in createThunks() 474 Chunk *thunkChunk = thunk->getChunk(); in createThunks() 487 auto insertion = thunkSymtabIndices.insert({{file, thunk}, ~0U}); in createThunks() 490 thunkSymbolIndex = file->addRangeThunkSymbol(thunk); in createThunks() 1110 DefinedImportThunk *thunk = cast<DefinedImportThunk>(file->thunkSym); in appendImportThunks() local 1112 textSec->addChunk(thunk->getChunk()); in appendImportThunks()
|
| H A D | PDB.cpp | 1540 DefinedImportThunk *thunk = cast<DefinedImportThunk>(file->thunkSym); in addImportFilesToPDB() local 1541 Chunk *thunkChunk = thunk->getChunk(); in addImportFilesToPDB() 1554 ts.Name = thunk->getName(); in addImportFilesToPDB() 1585 createSectionContrib(ctx, thunk->getChunk(), mod->getModuleIndex()); in addImportFilesToPDB()
|
| /openbsd-src/gnu/llvm/lld/MachO/ |
| H A D | Target.h | 87 virtual void populateThunk(InputSection *thunk, Symbol *funcSym) { in populateThunk() argument
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/vax/ |
| H A D | vax.c | 1013 vax_output_mi_thunk (file, thunk, delta, vcall_offset, function) in vax_output_mi_thunk() argument 1015 tree thunk ATTRIBUTE_UNUSED;
|
| /openbsd-src/gnu/llvm/llvm/docs/ |
| H A D | SecurityTransparencyReports.rst | 74 `-mfunction-return=thunk-extern`, see https://reviews.llvm.org/D129572.
|
| H A D | TypeMetadata.rst | 70 D, D::offset-to-top, &D::rtti, &D::f, &D::h, D::offset-to-top, &D::rtti, thunk for &D::h
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.h | 930 uint32_t thunk; member 936 uint64_t thunk; member 942 uintptr_t thunk; member
|
| /openbsd-src/sys/arch/amd64/conf/ |
| H A D | Makefile.amd64 | 75 CMACHFLAGS+= -mretpoline-external-thunk -fcf-protection=branch
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/TargetParser/ |
| H A D | X86TargetParser.def | 230 X86_FEATURE (RETPOLINE_EXTERNAL_THUNK, "retpoline-external-thunk")
|
| /openbsd-src/gnu/gcc/gcc/config/vax/ |
| H A D | vax.c | 815 tree thunk ATTRIBUTE_UNUSED, in vax_output_mi_thunk()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86.td | 367 // to provide their own custom thunk definitions in highly specialized 371 "retpoline-external-thunk", "UseRetpolineExternalThunk", "true", 373 "on the specified user provided thunk rather than emitting one "
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/i960/ |
| H A D | i960.c | 2836 i960_output_mi_thunk (file, thunk, delta, vcall_offset, function) in i960_output_mi_thunk() argument 2838 tree thunk ATTRIBUTE_UNUSED;
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/m68k/ |
| H A D | m68k.c | 3863 m68k_output_mi_thunk (file, thunk, delta, vcall_offset, function) in m68k_output_mi_thunk() argument 3865 tree thunk ATTRIBUTE_UNUSED;
|