/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/common/ |
H A D | symbol.c | 35 ignore_symbol(GElf_Sym *sym, const char *name) argument 37 uchar_t type = GELF_ST_TYPE(sym->st_info); 43 if (sym->st_shndx == SHN_UNDEF || sym->st_name == 0) 58 if (type == STT_OBJECT && sym->st_shndx == SHN_ABS && 59 sym->st_value == 0)
|
H A D | symbol.h | 38 int ignore_symbol(GElf_Sym *sym, const char *name);
|
/freebsd-13-stable/sys/riscv/include/ |
H A D | asm.h | 49 #define ENTRY(sym) \ 50 .text; .globl sym; .type sym,@function; .align 4; sym: .cfi_startproc; 51 #define END(sym) .cfi_endproc; .size sym, . - sym 53 #define EENTRY(sym) \ 54 .globl sym; sym [all...] |
/freebsd-13-stable/sys/arm64/include/ |
H A D | asm.h | 41 #define LENTRY(sym) \ 42 .text; .align 2; .type sym,#function; sym: \ 44 #define ENTRY(sym) \ 45 .globl sym; LENTRY(sym) 46 #define EENTRY(sym) \ 47 .globl sym; sym: 48 #define LEND(sym) [all...] |
/freebsd-13-stable/contrib/llvm-project/libunwind/src/ |
H A D | Unwind_AppleExtras.cpp | 44 #define NOT_HERE_BEFORE_5_0(sym) \ 45 extern const char sym##_tmp30 __asm("$ld$hide$os3.0$_" #sym ); \ 46 __attribute__((visibility("default"))) const char sym##_tmp30 = 0; \ 47 extern const char sym##_tmp31 __asm("$ld$hide$os3.1$_" #sym ); \ 48 __attribute__((visibility("default"))) const char sym##_tmp31 = 0; \ 49 extern const char sym##_tmp32 __asm("$ld$hide$os3.2$_" #sym );\ 50 __attribute__((visibility("default"))) const char sym##_tmp3 [all...] |
/freebsd-13-stable/contrib/llvm-project/lld/MachO/ |
H A D | Symbols.cpp | 16 void LazySymbol::fetchArchiveMember() { file->fetch(sym); } 19 std::string lld::toString(const Symbol &sym) { argument 20 if (Optional<std::string> s = demangleItanium(sym.getName())) 22 return std::string(sym.getName());
|
/freebsd-13-stable/contrib/llvm-project/lld/ELF/ |
H A D | SymbolTable.cpp | 34 void SymbolTable::wrap(Symbol *sym, Symbol *real, Symbol *wrap) { argument 36 int &idx1 = symMap[CachedHashStringRef(sym->getName())]; 44 sym->exportDynamic = true; 50 // alias for sym, but that could degrade the user experience of some tools 51 // that can print out only one symbol for each location: sym is a preferred 53 memcpy(real, sym, sizeof(SymbolUnion)); 76 Symbol *sym = reinterpret_cast<Symbol *>(make<SymbolUnion>()); 77 symVector.push_back(sym); 79 // *sym was not initialized by a constructor. Fields that may get referenced 81 sym 97 Symbol *sym = insert(newSym.getName()); local 115 canBeVersioned(const Symbol &sym) argument [all...] |
H A D | Relocations.cpp | 68 static Optional<std::string> getLinkerScriptLocation(const Symbol &sym) { argument 71 if (cmd->sym == &sym) 76 static std::string getDefinedLocation(const Symbol &sym) { argument 78 if (sym.file) 79 msg += toString(sym.file); 80 else if (Optional<std::string> loc = getLinkerScriptLocation(sym)) 90 static std::string getLocation(InputSectionBase &s, const Symbol &sym, argument 92 std::string msg = getDefinedLocation(sym) + "\n>>> referenced by "; 93 std::string src = s.getSrcMsg(sym, of 154 handleMipsTlsRelocation(RelType type, Symbol &sym, InputSectionBase &c, uint64_t offset, int64_t addend, RelExpr expr) argument 179 handleTlsRelocation(RelType type, Symbol &sym, InputSectionBase &c, typename ELFT::uint offset, int64_t addend, RelExpr expr) argument 348 isAbsolute(const Symbol &sym) argument 356 isAbsoluteValue(const Symbol &sym) argument 391 isStaticLinkTimeConstant(RelExpr e, RelType type, const Symbol &sym, InputSectionBase &s, uint64_t relOff) argument 510 Symbol *sym = symtab->find(name); local 522 replaceWithDefined(Symbol &sym, SectionBase *sec, uint64_t value, uint64_t size) argument 672 maybeReportDiscarded(Undefined &sym) argument 708 Symbol *sym; member in struct:UndefinedDiag 738 getAlternativeSpelling(const Undefined &sym, std::string &pre_hint, std::string &post_hint) argument 854 Symbol &sym = *undef.sym; local 936 maybeReportUndefined(Symbol &sym, InputSectionBase &sec, uint64_t offset) argument 1026 addRelativeReloc(InputSectionBase *isec, uint64_t offsetInSec, Symbol *sym, int64_t addend, RelExpr expr, RelType type) argument 1047 addPltEntry(PltSection *plt, GotPltSection *gotPlt, RelocationBaseSection *rel, RelType type, Symbol &sym) argument 1055 addGotEntry(Symbol &sym) argument 1089 canDefineSymbolInExecutable(Symbol &sym) argument 1120 processRelocAux(InputSectionBase &sec, RelExpr expr, RelType type, uint64_t offset, Symbol &sym, const RelTy &rel, int64_t addend) argument 1269 Symbol &sym = sec.getFile<ELFT>()->getSymbol(symIndex); local 2017 Symbol *sym = symtab->find("__tls_get_addr"); local [all...] |
/freebsd-13-stable/sys/sys/ |
H A D | linker_set.h | 62 #define __MAKE_SET_QV(set, sym, qv) \ 66 __set_##set##_sym_##sym __section("set_" #set) \ 68 __used = &(sym) 69 #define __MAKE_SET(set, sym) __MAKE_SET_QV(set, sym, __MAKE_SET_CONST) 77 #define TEXT_SET(set, sym) __MAKE_SET(set, sym) 78 #define DATA_SET(set, sym) __MAKE_SET(set, sym) 79 #define DATA_WSET(set, sym) __MAKE_SET_Q [all...] |
/freebsd-13-stable/contrib/netbsd-tests/lib/libppath/ |
H A D | plist_to_c | 15 ${AWK:-awk} -v sym=$1 ' 16 BEGIN { printf "const char " sym "[] = \""; }
|
/freebsd-13-stable/contrib/llvm-project/lld/COFF/ |
H A D | MinGW.cpp | 120 bool AutoExporter::shouldExport(Defined *sym) const { 121 if (!sym || !sym->isLive() || !sym->getChunk()) 126 if (!isa<DefinedRegular>(sym) && !isa<DefinedCommon>(sym)) 128 if (excludeSymbols.count(sym->getName())) 132 if (sym->getName().startswith(prefix)) 135 if (sym->getName().endswith(suffix)) 139 if (symtab->find(("__imp_" + sym [all...] |
H A D | MarkLive.cpp | 47 if (auto *sym = dyn_cast<DefinedRegular>(b)) 48 enqueue(sym->getChunk()); 49 else if (auto *sym = dyn_cast<DefinedImportData>(b)) 50 sym->file->live = true; 51 else if (auto *sym = dyn_cast<DefinedImportThunk>(b)) 52 sym->wrappedSym->file->live = sym->wrappedSym->file->thunkLive = true;
|
H A D | InputFiles.cpp | 108 for (const Archive::Symbol &sym : file->symbols()) 109 symtab->addLazyArchive(this, sym); 113 void ArchiveFile::addMember(const Archive::Symbol &sym) { argument 115 CHECK(sym.getMember(), 116 "could not get the member for symbol " + toCOFFString(sym)); 122 driver->enqueueArchiveMember(c, sym, getName()); 159 for (const lto::InputFile::Symbol &sym : obj->symbols()) { 160 if (!sym.isUndefined()) 161 symtab->addLazyObject(this, sym.getName()); 301 COFFSymbolRef sym, cons 300 readAssociativeDefinition( COFFSymbolRef sym, const coff_aux_section_definition *def) argument 305 readAssociativeDefinition(COFFSymbolRef sym, const coff_aux_section_definition *def, uint32_t parentIndex) argument 345 recordPrevailingSymbolForMingw( COFFSymbolRef sym, DenseMap<StringRef, uint32_t> &prevailingSectionMap) argument 362 maybeAssociateSEHForMingw( COFFSymbolRef sym, const coff_aux_section_definition *def, const DenseMap<StringRef, uint32_t> &prevailingSectionMap) argument 376 createRegular(COFFSymbolRef sym) argument 439 COFFSymbolRef sym = check(coffObj->getSymbol(i)); local 456 Symbol *sym = kv.first; local 465 createUndefined(COFFSymbolRef sym) argument 470 handleComdatSelection(COFFSymbolRef sym, COMDATType &selection, bool &prevailing, DefinedRegular *leader) argument 581 createDefined( COFFSymbolRef sym, std::vector<const coff_aux_section_definition *> &comdatDefs, bool &prevailing) argument 720 Expected<CVSymbol> sym = readSymbolFromStream(ss.getRecordData(), offset); local 1014 Symbol *sym; local [all...] |
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | apple_versioning.c | 13 #define NOT_HERE_BEFORE_10_6(sym) 14 #define NOT_HERE_IN_10_8_AND_EARLIER(sym) \ 15 extern const char sym##_tmp61 __asm("$ld$hide$os6.1$_" #sym); \ 16 __attribute__((visibility("default"))) const char sym##_tmp61 = 0; \ 17 extern const char sym##_tmp60 __asm("$ld$hide$os6.0$_" #sym); \ 18 __attribute__((visibility("default"))) const char sym##_tmp60 = 0; \ 19 extern const char sym##_tmp51 __asm("$ld$hide$os5.1$_" #sym); \ [all...] |
/freebsd-13-stable/sys/ddb/ |
H A D | db_main.c | 79 X_db_line_at_pc(db_symtab_t *symtab, c_db_sym_t sym, char **file, int *line, argument 89 Elf_Sym *sym; local 95 sym = (Elf_Sym *)symtab->start; 96 while ((char *)sym < symtab->end) { 97 if (sym->st_name != 0 && 99 sym->st_name, symbol)) 100 return ((c_db_sym_t)sym); 101 sym++; 112 Elf_Sym *sym, *match; local 128 for (sym 165 X_db_sym_numargs(db_symtab_t *symtab, c_db_sym_t sym, int *nargp, char **argp) argument 172 X_db_symbol_values(db_symtab_t *symtab, c_db_sym_t sym, const char **namep, db_expr_t *valp) argument [all...] |
H A D | db_sym.c | 64 static char *db_qualify(c_db_sym_t sym, char *symtabname); 65 static bool db_symbol_is_ambiguous(c_db_sym_t sym); 198 db_qualify(c_db_sym_t sym, char *symtabname) argument 203 db_symbol_values(sym, &symname, 0); 221 c_db_sym_t sym; local 223 sym = db_lookup(name); 224 if (sym == C_DB_SYM_NULL) 226 db_symbol_values(sym, &name, valuep); 235 c_db_sym_t sym; local 243 sym 259 c_db_sym_t sym; local 344 db_symbol_is_ambiguous(c_db_sym_t sym) argument 374 c_db_sym_t ret, sym; local 406 db_symbol_values(c_db_sym_t sym, const char **namep, db_expr_t *valuep) argument 474 db_line_at_pc(c_db_sym_t sym, char **filename, int *linenum, db_expr_t pc) argument 480 db_sym_numargs(c_db_sym_t sym, int *nargp, char **argnames) argument [all...] |
/freebsd-13-stable/sys/modules/sym/ |
H A D | Makefile | 3 .PATH: ${SRCTOP}/sys/dev/sym 5 KMOD= sym
|
/freebsd-13-stable/sys/contrib/zlib/ |
H A D | inftrees.c | 41 unsigned sym; /* index of code symbols */ local 109 for (sym = 0; sym < codes; sym++) 110 count[lens[sym]]++; 146 for (sym = 0; sym < codes; sym++) 147 if (lens[sym] != 0) work[offs[lens[sym]] [all...] |
/freebsd-13-stable/sys/contrib/openzfs/module/lua/setjmp/ |
H A D | setjmp_aarch64.S | 35 #define ENTRY(sym) \ 37 .globl sym; \ 39 .type sym,#function; \ 40 sym: label 42 #define END(sym) \ 43 .size sym, . - sym
|
H A D | setjmp_rv64g.S | 35 #define ENTRY(sym) \ 36 .text; .globl sym; .type sym,@function; sym: 37 #define END(sym) .size sym, . - sym
|
/freebsd-13-stable/lib/libpmcstat/ |
H A D | libpmcstat_symbol.c | 61 struct pmcstat_symbol *sym; local 91 sym = &image->pi_symbols[i]; 92 name2 = pmcstat_string_unintern(sym->ps_name); 103 pcm->ppm_lowpc + sym->ps_start); 105 pcm->ppm_lowpc + sym->ps_end); 107 return (sym); 136 struct pmcstat_symbol sym; local 141 sym.ps_name = NULL; 142 sym.ps_start = addr; 143 sym [all...] |
/freebsd-13-stable/contrib/netbsd-tests/libexec/ld.elf_so/ |
H A D | t_dlvsym.c | 47 int (*sym)(void); 58 sym = dlvsym(handle, "testfunc", "V_1"); 62 result = (*sym)(); 79 int (*sym)(void); 90 sym = dlvsym(handle, "testfunc", "V_3"); 94 result = (*sym)(); 112 int (*sym)(void); 122 sym = dlvsym(handle, "symbol_nonexistent", "V_3"); 124 ATF_CHECK(sym == NULL); 142 int (*sym)(voi [all...] |
/freebsd-13-stable/libexec/rtld-elf/ |
H A D | debug.c | 109 const Elf_Sym *sym; local 116 sym = obj->symtab + ELF_R_SYM(rel->r_info); 118 obj->strtab + sym->st_name, 120 (u_long)sym->st_value, (int)sym->st_size, 131 const Elf_Sym *sym; local 138 sym = obj->symtab + ELF_R_SYM(rela->r_info); 140 obj->strtab + sym->st_name, 142 (u_long)sym->st_value, (int)sym [all...] |
/freebsd-13-stable/usr.sbin/ypldap/ |
H A D | parse.y | 78 TAILQ_HEAD(symhead, sym) symhead = TAILQ_HEAD_INITIALIZER(symhead); 79 struct sym { 80 TAILQ_ENTRY(sym) entry; 728 struct sym *sym, *next; 754 for (sym = TAILQ_FIRST(&symhead); sym != NULL; sym = next) { 755 next = TAILQ_NEXT(sym, entry); 756 if ((opts & YPLDAP_OPT_VERBOSE) && !sym [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
H A D | RetainCountDiagnostics.h | 56 ExplodedNode *n, SymbolRef sym, 60 ExplodedNode *n, SymbolRef sym, 76 // 'sym' should be raised. 77 void deriveParamLocation(CheckerContext &Ctx, SymbolRef sym); 78 // Finds the location where a leak warning for 'sym' should be raised. 79 void deriveAllocLocation(CheckerContext &Ctx, SymbolRef sym); 85 SymbolRef sym, CheckerContext &Ctx);
|