| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | MapFile.cpp | 66 static void sortUniqueSymbols(std::vector<Defined *> &syms, in sortUniqueSymbols() argument 71 v.resize(syms.size()); in sortUniqueSymbols() 72 for (size_t i = 0, e = syms.size(); i < e; ++i) in sortUniqueSymbols() 73 v[i] = SortEntry(syms[i], i); in sortUniqueSymbols() 91 syms.resize(v.size()); in sortUniqueSymbols() 93 syms[i] = v[i].first; in sortUniqueSymbols() 98 std::vector<Defined *> &syms, in getSymbols() argument 112 syms.push_back(sym); in getSymbols() 115 syms.push_back(sym); in getSymbols() 124 syms.push_back(file->impSym); in getSymbols() [all …]
|
| H A D | LLDMapFile.cpp | 60 static SymbolMapTy getSectionSyms(ArrayRef<DefinedRegular *> syms) { in getSectionSyms() argument 62 for (DefinedRegular *s : syms) in getSectionSyms() 78 ArrayRef<DefinedRegular *> syms) { in getSymbolStrings() argument 79 std::vector<std::string> str(syms.size()); in getSymbolStrings() 80 parallelFor((size_t)0, syms.size(), [&](size_t i) { in getSymbolStrings() 82 writeHeader(os, syms[i]->getRVA(), 0, 0); in getSymbolStrings() 83 os << indent16 << toString(ctx, *syms[i]); in getSymbolStrings() 87 for (size_t i = 0, e = syms.size(); i < e; ++i) in getSymbolStrings() 88 ret[syms[i]] = std::move(str[i]); in getSymbolStrings() 103 std::vector<DefinedRegular *> syms = getSymbols(ctx); in writeLLDMapFile() local [all …]
|
| H A D | DLL.cpp | 192 std::vector<DefinedImportData *> &syms = kv.second; in binImports() local 193 llvm::sort(syms, [](DefinedImportData *a, DefinedImportData *b) { in binImports() 204 v.push_back(std::move(syms)); in binImports() 728 for (std::vector<DefinedImportData *> &syms : v) { in create() 731 for (DefinedImportData *sym : syms) { in create() 775 syms = std::move(hybridSyms); in create() 780 for (std::vector<DefinedImportData *> &syms : v) { in create() 788 for (DefinedImportData *s : syms) { in create() 861 for (int i = 0, e = syms.size(); i < e; ++i) { in create() 862 syms[i]->setLocation(addresses[base + i]); in create() [all …]
|
| H A D | Chunks.h | 721 explicit RVATableChunk(SymbolRVASet s) : syms(std::move(s)) {} in RVATableChunk() 722 size_t getSize() const override { return syms.size() * 4; } in getSize() 726 SymbolRVASet syms; 732 explicit RVAFlagTableChunk(SymbolRVASet s) : syms(std::move(s)) {} in RVAFlagTableChunk() 733 size_t getSize() const override { return syms.size() * 5; } in getSize() 737 SymbolRVASet syms;
|
| H A D | MinGW.cpp | 282 MutableArrayRef<Symbol *> syms = file->getMutableSymbols(); in wrapSymbols() local 283 for (auto &sym : syms) in wrapSymbols()
|
| H A D | SymbolTable.cpp | 979 std::vector<Symbol *> syms; in getSymsWithPrefix() local 985 syms.push_back(pair.second); in getSymsWithPrefix() 988 return syms; in getSymsWithPrefix() 1008 std::vector<Symbol *> syms = getSymsWithPrefix(name); in findMangle() local 1009 auto findByPrefix = [&syms](const Twine &t) -> Symbol * { in findMangle() 1011 for (auto *s : syms) in findMangle() 1129 SmallVector<Symbol *, 0> syms; in addUndefinedGlob() local 1130 forEachSymbol([&syms, &pat](Symbol *sym) { in addUndefinedGlob() 1132 syms.push_back(sym); in addUndefinedGlob() 1136 for (Symbol *sym : syms) in addUndefinedGlob()
|
| /freebsd/sys/conf/ |
| H A D | kmod_syms.awk | 7 syms[$3] = $2 16 if (!(smbl in syms)) { 20 delete syms[smbl] 25 for (member in syms) { 26 if (syms[member] == "C")
|
| H A D | kmod_syms_prefix.awk | 6 syms[$3] = $2 14 for (member in syms) {
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | MapFile.cpp | 69 static SymbolMapTy getSectionSyms(Ctx &ctx, ArrayRef<Defined *> syms) { in getSectionSyms() argument 71 for (Defined *dr : syms) in getSectionSyms() 94 getSymbolStrings(Ctx &ctx, ArrayRef<Defined *> syms) { in getSymbolStrings() argument 95 auto strs = std::make_unique<std::string[]>(syms.size()); in getSymbolStrings() 96 parallelFor(0, syms.size(), [&](size_t i) { in getSymbolStrings() 98 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() 99 uint64_t vma = syms[i]->getVA(ctx); in getSymbolStrings() 101 writeHeader(ctx, os, vma, lma, syms[i]->getSize(), 1); in getSymbolStrings() 102 os << indent16 << toStr(ctx, *syms[i]); in getSymbolStrings() 106 for (size_t i = 0, e = syms.size(); i < e; ++i) in getSymbolStrings() [all …]
|
| H A D | SymbolTable.cpp | 197 SmallVector<Symbol *, 0> syms; in handleDynamicList() local 200 syms = findAllByVersion(ver, /*includeNonDefault=*/true); in handleDynamicList() 202 syms = findByVersion(ver); in handleDynamicList() 204 for (Symbol *sym : syms) in handleDynamicList() 215 SmallVector<Symbol *, 0> syms = findByVersion(ver); in assignExactVersion() local 226 for (Symbol *sym : syms) { in assignExactVersion() 245 return !syms.empty(); in assignExactVersion()
|
| H A D | Thunks.h | 63 Defined *getThunkTargetSym() const { return syms[0]; } in getThunkTargetSym() 70 llvm::SmallVector<Defined *, 3> syms; variable
|
| H A D | LTO.cpp | 227 ArrayRef<Symbol *> syms = f.getSymbols(); in add() local 229 std::vector<lto::SymbolResolution> resols(syms.size()); in add() 232 for (size_t i = 0, e = syms.size(); i != e; ++i) { in add() 233 Symbol *sym = syms[i]; in add()
|
| /freebsd/contrib/wpa/src/utils/ |
| H A D | trace.c | 33 static asymbol **syms = NULL; variable 105 if (syms) in read_syms() 123 syms = malloc(storage); in read_syms() 124 if (syms == NULL) { in read_syms() 130 symcount = bfd_canonicalize_dynamic_symtab(abfd, syms); in read_syms() 132 symcount = bfd_canonicalize_symtab(abfd, syms); in read_syms() 136 free(syms); in read_syms() 137 syms = NULL; in read_syms() 183 data->found = bfd_find_nearest_line(abfd, section, syms, in find_addr_sect() 275 if (!syms) { in wpa_trace_bfd_init() [all …]
|
| /freebsd/lib/libc/resolv/ |
| H A D | res_debug.c | 548 sym_ston(const struct res_sym *syms, const char *name, int *success) { in sym_ston() argument 549 for ((void)NULL; syms->name != 0; syms++) { in sym_ston() 550 if (strcasecmp (name, syms->name) == 0) { in sym_ston() 553 return (syms->number); in sym_ston() 558 return (syms->number); /*%< The default value. */ in sym_ston() 562 sym_ntos(const struct res_sym *syms, int number, int *success) { in sym_ntos() argument 565 for ((void)NULL; syms->name != 0; syms++) { in sym_ntos() 566 if (number == syms->number) { in sym_ntos() 569 return (syms->name); in sym_ntos() 580 sym_ntop(const struct res_sym *syms, int number, int *success) { in sym_ntop() argument [all …]
|
| /freebsd/contrib/netbsd-tests/usr.bin/ld/ |
| H A D | t_script.sh | 142 extract_symbol_names test.ro >test.syms 165 } <test.syms 190 grep '^[abc]$' >test.syms
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbIndex.cpp | 120 const CVSymbolArray &syms = cci.m_debug_stream.getSymbolArray(); in BuildAddrToSymbolMap() local 121 for (auto iter = syms.begin(); iter != syms.end(); ++iter) { in BuildAddrToSymbolMap()
|
| H A D | SymbolFileNativePDB.cpp | 1053 const CVSymbolArray &syms = cii.m_debug_stream.getSymbolArray(); in ParseFunctions() local 1054 for (auto iter = syms.begin(); iter != syms.end(); ++iter) { in ParseFunctions() 1267 const CVSymbolArray &syms = cii->m_debug_stream.getSymbolArray(); in ParseLineTable() local 1268 for (auto iter = syms.begin(); iter != syms.end();) { in ParseLineTable() 1308 iter = syms.at(getScopeEndOffset(func_record)); in ParseLineTable() 1620 CVSymbolArray syms = in ParseSymbolArrayInScope() local 1624 for (auto iter = syms.begin(); iter != syms.end(); ++iter) { in ParseSymbolArrayInScope() 1986 CVSymbolArray syms = limitSymbolArrayToScope( in ParseVariablesForBlock() local 1991 syms.drop_front(); in ParseVariablesForBlock() 1992 auto iter = syms.begin(); in ParseVariablesForBlock() [all …]
|
| H A D | CompileUnitIndex.cpp | 80 const CVSymbolArray &syms = item.m_debug_stream.getSymbolArray(); in ParseExtendedInfo() local 90 for (const CVSymbol &sym : syms) { in ParseExtendedInfo()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | ObjdumpOpts.td | 206 def syms : Flag<["--"], "syms">, 208 def : Flag<["-"], "t">, Alias<syms>, HelpText<"Alias for --syms">; 217 def dynamic_syms : Flag<["--"], "dynamic-syms">, 220 HelpText<"Alias for --dynamic-syms">;
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-nm/ |
| H A D | Opts.td | 17 def debug_syms : FF<"debug-syms", "Show all symbols, even debugger only">; 37 def special_syms : FF<"special-syms", "Do not filter special symbols from the output">; 62 def : F<"a", "Alias for --debug-syms">, Alias<debug_syms>;
|
| /freebsd/sys/dev/ksyms/ |
| H A D | ksyms.c | 133 long syms; in ksyms_size_permod() local 137 syms = LINKER_SYMTAB_GET(lf, &symtab); in ksyms_size_permod() 138 ts->ts_symsz += syms * sizeof(Elf_Sym); in ksyms_size_permod()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | Opts.td | 28 def dyn_syms : FF<"dyn-syms", "Display the dynamic symbol table">; 107 def : Flag<["--"], "dt">, Alias<dyn_syms>, HelpText<"Alias for --dyn-syms">; 113 def : FF<"dyn-symbols", "Alias for --dyn-syms">, Alias<dyn_syms>; 122 def : FF<"syms", "Alias for --symbols">, Alias<symbols>;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | ConstructDecompositionT.h | 134 if (auto found = syms.find(object.id()); found != syms.end()) in findClausesWith() 252 std::unordered_map<IdTy, ClauseSet> syms; member 265 syms[object.id()].insert(node); in addClauseSymsToMap() 272 syms[object.id()].insert(node); in addClauseSymsToMap()
|
| /freebsd/crypto/openssl/doc/HOWTO/ |
| H A D | documenting-functions-and-macros.md | 53 (maybe missing from other.syms) but is documented as public 57 to edit the file `util/other.syms` to add the names of your `#define`
|
| /freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_pid.c | 575 const char *syms[] = { "___SUNW_dof", "__SUNW_dof" }; in dt_pid_usdt_mapping() local 585 if (Pxlookup_by_name(P, PR_LMID_EVERY, oname, syms[i], &sym, in dt_pid_usdt_mapping() 595 dt_dprintf("lookup of %s succeeded for %s\n", syms[i], mname); in dt_pid_usdt_mapping()
|