/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | LLDMapFile.cpp | 60 static SymbolMapTy getSectionSyms(ArrayRef<DefinedRegular *> syms) { in getSectionSyms() 62 for (DefinedRegular *s : syms) in getSectionSyms() 78 ArrayRef<DefinedRegular *> syms) { in getSymbolStrings() 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 in writeLLDMapFile() 59 getSectionSyms(ArrayRef<DefinedRegular * > syms) getSectionSyms() argument 77 getSymbolStrings(const COFFLinkerContext & ctx,ArrayRef<DefinedRegular * > syms) getSymbolStrings() argument 101 std::vector<DefinedRegular *> syms = getSymbols(ctx); writeLLDMapFile() local [all...] |
H A D | MapFile.cpp | 67 static void sortUniqueSymbols(std::vector<Defined *> &syms, in sortUniqueSymbols() 72 v.resize(syms.size()); in sortUniqueSymbols() 73 for (size_t i = 0, e = syms.size(); i < e; ++i) in sortUniqueSymbols() 74 v[i] = SortEntry(syms[i], i); in sortUniqueSymbols() 93 syms.resize(v.size()); in sortUniqueSymbols() 95 syms[i] = v[i].first; in sortUniqueSymbols() 100 std::vector<Defined *> &syms, in getSymbols() 114 syms.push_back(sym); in getSymbols() 117 syms.push_back(sym); in getSymbols() 132 syms in getSymbols() 66 sortUniqueSymbols(std::vector<Defined * > & syms,uint64_t imageBase) sortUniqueSymbols() argument 99 getSymbols(const COFFLinkerContext & ctx,std::vector<Defined * > & syms,std::vector<Defined * > & staticSyms) getSymbols() argument 143 getSymbolStrings(const COFFLinkerContext & ctx,ArrayRef<Defined * > syms) getSymbolStrings() argument 215 std::vector<Defined *> syms; writeMapFile() local [all...] |
H A D | DLL.cpp | 161 std::vector<DefinedImportData *> &syms = kv.second; in binImports() local 162 llvm::sort(syms, [](DefinedImportData *a, DefinedImportData *b) { in binImports() 165 v.push_back(std::move(syms)); in binImports() 679 for (std::vector<DefinedImportData *> &syms : v) { in create() 685 for (DefinedImportData *s : syms) { in create() 701 for (int i = 0, e = syms.size(); i < e; ++i) in create() 702 syms[i]->setLocation(addresses[base + i]); in create() 705 dllNames.push_back(make<StringChunk>(syms[0]->getDLLName())); in create() 742 for (std::vector<DefinedImportData *> &syms : v) { in create() 744 dllNames.push_back(make<StringChunk>(syms[0]->getDLLName())); in create() [all …]
|
H A D | Chunks.h | 677 explicit RVATableChunk(SymbolRVASet s) : syms(std::move(s)) {} in RVATableChunk() 678 size_t getSize() const override { return syms.size() * 4; } in getSize() 682 SymbolRVASet syms; 688 explicit RVAFlagTableChunk(SymbolRVASet s) : syms(std::move(s)) {} in RVAFlagTableChunk() 689 size_t getSize() const override { return syms.size() * 5; } in getSize() 693 SymbolRVASet syms;
|
H A D | MinGW.cpp | 273 MutableArrayRef<Symbol *> syms = file->getMutableSymbols(); in wrapSymbols() local 274 for (auto &sym : syms) in wrapSymbols()
|
H A D | SymbolTable.cpp | 845 std::vector<Symbol *> syms; in getSymsWithPrefix() local 851 syms.push_back(pair.second); in getSymsWithPrefix() 854 return syms; in getSymsWithPrefix() 874 std::vector<Symbol *> syms = getSymsWithPrefix(name); in findMangle() local 875 auto findByPrefix = [&syms](const Twine &t) -> Symbol * { in findMangle() 877 for (auto *s : syms) in findMangle()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | MapFile.cpp | 68 static SymbolMapTy getSectionSyms(ArrayRef<Defined *> syms) { in getSectionSyms() argument 70 for (Defined *dr : syms) in getSectionSyms() 93 getSymbolStrings(ArrayRef<Defined *> syms) { in getSymbolStrings() argument 94 auto strs = std::make_unique<std::string[]>(syms.size()); in getSymbolStrings() 95 parallelFor(0, syms.size(), [&](size_t i) { in getSymbolStrings() 97 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() 98 uint64_t vma = syms[i]->getVA(); in getSymbolStrings() 100 writeHeader(os, vma, lma, syms[i]->getSize(), 1); in getSymbolStrings() 101 os << indent16 << toString(*syms[i]); in getSymbolStrings() 105 for (size_t i = 0, e = syms.size(); i < e; ++i) in getSymbolStrings() [all …]
|
H A D | SymbolTable.cpp | 200 SmallVector<Symbol *, 0> syms; in handleDynamicList() local 203 syms = findAllByVersion(ver, /*includeNonDefault=*/true); in handleDynamicList() 205 syms = findByVersion(ver); in handleDynamicList() 207 for (Symbol *sym : syms) in handleDynamicList() 218 SmallVector<Symbol *, 0> syms = findByVersion(ver); in assignExactVersion() local 229 for (Symbol *sym : syms) { in assignExactVersion() 248 return !syms.empty(); in assignExactVersion()
|
H A D | Thunks.h | 57 Defined *getThunkTargetSym() const { return syms[0]; } in getThunkTargetSym() 61 llvm::SmallVector<Defined *, 3> syms; variable
|
H A D | LTO.cpp | 221 ArrayRef<Symbol *> syms = f.getSymbols(); in add() local 223 std::vector<lto::SymbolResolution> resols(syms.size()); in add() 226 for (size_t i = 0, e = syms.size(); i != e; ++i) { in add() 227 Symbol *sym = syms[i]; in add()
|
/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/wpa/src/utils/ |
H A D | trace.c | 31 static asymbol **syms = NULL; variable 103 if (syms) in read_syms() 121 syms = malloc(storage); in read_syms() 122 if (syms == NULL) { in read_syms() 128 symcount = bfd_canonicalize_dynamic_symtab(abfd, syms); in read_syms() 130 symcount = bfd_canonicalize_symtab(abfd, syms); in read_syms() 134 free(syms); in read_syms() 135 syms = NULL; in read_syms() 181 data->found = bfd_find_nearest_line(abfd, section, syms, in find_addr_sect() 269 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 | 1056 const CVSymbolArray &syms = cii.m_debug_stream.getSymbolArray(); in ParseFunctions() local 1057 for (auto iter = syms.begin(); iter != syms.end(); ++iter) { in ParseFunctions() 1270 const CVSymbolArray &syms = cii->m_debug_stream.getSymbolArray(); in ParseLineTable() local 1271 for (auto iter = syms.begin(); iter != syms.end();) { in ParseLineTable() 1313 iter = syms.at(getScopeEndOffset(func_record)); in ParseLineTable() 1626 CVSymbolArray syms = in ParseSymbolArrayInScope() local 1630 for (auto iter = syms.begin(); iter != syms.end(); ++iter) { in ParseSymbolArrayInScope() 1966 CVSymbolArray syms = limitSymbolArrayToScope( in ParseVariablesForBlock() local 1971 syms.drop_front(); in ParseVariablesForBlock() 1972 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/dialog/package/debian/ |
H A D | rules | 60 --with-versioned-syms \
|
/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() 247 std::unordered_map<IdTy, ClauseSet> syms; member 260 syms[object.id()].insert(node); in addClauseSymsToMap() 267 syms[object.id()].insert(node); in addClauseSymsToMap()
|
/freebsd/contrib/dialog/package/ |
H A D | dialog.spec | 60 --with-versioned-syms \
|