| /freebsd-12.1/contrib/llvm/tools/lld/COFF/ |
| H A D | MapFile.cpp | 60 static SymbolMapTy getSectionSyms(ArrayRef<DefinedRegular *> Syms) { in getSectionSyms() argument 62 for (DefinedRegular *S : Syms) in getSectionSyms() 77 getSymbolStrings(ArrayRef<DefinedRegular *> Syms) { in getSymbolStrings() argument 78 std::vector<std::string> Str(Syms.size()); in getSymbolStrings() 79 for_each_n(parallel::par, (size_t)0, Syms.size(), [&](size_t I) { in getSymbolStrings() 81 writeHeader(OS, Syms[I]->getRVA(), 0, 0); in getSymbolStrings() 82 OS << Indent16 << toString(*Syms[I]); in getSymbolStrings() 86 for (size_t I = 0, E = Syms.size(); I < E; ++I) in getSymbolStrings() 87 Ret[Syms[I]] = std::move(Str[I]); in getSymbolStrings() 101 std::vector<DefinedRegular *> Syms = getSymbols(); in writeMapFile() local [all …]
|
| H A D | DLL.cpp | 150 std::vector<DefinedImportData *> &Syms = KV.second; in binImports() local 151 std::sort(Syms.begin(), Syms.end(), in binImports() 155 V.push_back(std::move(Syms)); in binImports() 495 for (std::vector<DefinedImportData *> &Syms : V) { in create() 501 for (DefinedImportData *S : Syms) { in create() 517 for (int I = 0, E = Syms.size(); I < E; ++I) in create() 518 Syms[I]->setLocation(Addresses[Base + I]); in create() 556 for (std::vector<DefinedImportData *> &Syms : V) { in create() 562 for (DefinedImportData *S : Syms) { in create() 580 for (int I = 0, E = Syms.size(); I < E; ++I) in create() [all …]
|
| H A D | Chunks.h | 420 explicit RVATableChunk(SymbolRVASet S) : Syms(std::move(S)) {} in RVATableChunk() 421 size_t getSize() const override { return Syms.size() * 4; } in getSize() 425 SymbolRVASet Syms;
|
| H A D | Driver.cpp | 825 ArrayRef<Symbol *> Syms = Obj->getSymbols(); in findKeepUniqueSections() local 836 if (SymIndex >= Syms.size()) in findKeepUniqueSections() 838 markAddrsig(Syms[SymIndex]); in findKeepUniqueSections() 844 for (Symbol *S : Syms) in findKeepUniqueSections()
|
| H A D | Chunks.cpp | 721 for (const ChunkAndOffset &CO : Syms) in writeTo()
|
| /freebsd-12.1/contrib/llvm/tools/lld/ELF/ |
| H A D | MapFile.cpp | 70 for (Defined *DR : Syms) in getSectionSyms() 89 getSymbolStrings(ArrayRef<Defined *> Syms) { in getSymbolStrings() argument 90 std::vector<std::string> Str(Syms.size()); in getSymbolStrings() 91 parallelForEachN(0, Syms.size(), [&](size_t I) { in getSymbolStrings() 94 uint64_t VMA = Syms[I]->getVA(); in getSymbolStrings() 96 writeHeader(OS, VMA, LMA, Syms[I]->getSize(), 1); in getSymbolStrings() 97 OS << Indent16 << toString(*Syms[I]); in getSymbolStrings() 101 for (size_t I = 0, E = Syms.size(); I < E; ++I) in getSymbolStrings() 102 Ret[Syms[I]] = std::move(Str[I]); in getSymbolStrings() 157 std::vector<Defined *> Syms = getSymbols(); in writeMapFile() local [all …]
|
| H A D | Thunks.h | 54 Defined *getThunkTargetSym() const { return Syms[0]; } in getThunkTargetSym() 59 llvm::SmallVector<Defined *, 3> Syms; variable
|
| H A D | LTO.cpp | 162 ArrayRef<Symbol *> Syms = F.getSymbols(); in add() local 164 std::vector<lto::SymbolResolution> Resols(Syms.size()); in add() 167 for (size_t I = 0, E = Syms.size(); I != E; ++I) { in add() 168 Symbol *Sym = Syms[I]; in add()
|
| H A D | SymbolTable.cpp | 660 std::vector<Symbol *> Syms; in handleDynamicList() local 662 Syms = findAllByVersion(Ver); in handleDynamicList() 664 Syms = findByVersion(Ver); in handleDynamicList() 666 for (Symbol *B : Syms) { in handleDynamicList() 683 std::vector<Symbol *> Syms = findByVersion(Ver); in assignExactVersion() local 684 if (Syms.empty()) { in assignExactVersion() 692 for (Symbol *Sym : Syms) { in assignExactVersion()
|
| H A D | Driver.cpp | 1337 ArrayRef<Symbol *> Syms = Obj->getSymbols(); in findKeepUniqueSections() local 1348 markAddrsig(Syms[SymIndex]); in findKeepUniqueSections() 1354 for (Symbol *S : Syms) in findKeepUniqueSections() 1428 std::vector<Symbol *> &Syms = File->getMutableSymbols(); in wrapSymbols() local 1429 for (size_t I = 0, E = Syms.size(); I != E; ++I) in wrapSymbols() 1430 if (Symbol *S = Map.lookup(Syms[I])) in wrapSymbols() 1431 Syms[I] = S; in wrapSymbols()
|
| H A D | InputFiles.cpp | 1008 ArrayRef<Elf_Sym> Syms = this->getGlobalELFSyms(); in parseRest() local 1009 for (size_t I = 0; I < Syms.size(); ++I) { in parseRest() 1010 const Elf_Sym &Sym = Syms[I]; in parseRest() 1299 typename ELFT::SymRange Syms = CHECK(Obj.symbols(&Sec), this); in parse() local 1304 for (const typename ELFT::Sym &Sym : Syms.slice(FirstGlobal)) in parse()
|
| H A D | Thunks.cpp | 301 Syms.push_back(D); in addSymbol() 306 for (Defined *D : Syms) in setOffset()
|
| /freebsd-12.1/contrib/llvm/lib/Object/ |
| H A D | SymbolSize.cpp | 45 auto Syms = E->symbols(); in computeSymbolSizes() local 46 if (Syms.begin() == Syms.end()) in computeSymbolSizes() 47 Syms = E->getDynamicSymbolIterators(); in computeSymbolSizes() 48 for (ELFSymbolRef Sym : Syms) in computeSymbolSizes()
|
| H A D | IRSymtab.cpp | 87 std::vector<storage::Symbol> Syms; member 128 Mod.Begin = Syms.size(); in addModule() 129 Mod.End = Syms.size() + Msymtab.symbols().size(); in addModule() 183 Syms.emplace_back(); in addSymbol() 184 storage::Symbol &Sym = Syms.back(); in addSymbol() 314 writeRange(Hdr.Symbols, Syms); in build()
|
| /freebsd-12.1/contrib/llvm/include/llvm/LTO/ |
| H A D | LTO.h | 379 void addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms, 391 addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, 396 Error addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | DbiModuleDescriptorBuilder.cpp | 157 for (ArrayRef<uint8_t> Syms : Symbols) { in commit() 158 if (auto EC = SymbolWriter.writeBytes(Syms)) in commit()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ExprInspectionChecker.cpp | 260 const MarkedSymbolsTy &Syms = State->get<MarkedSymbols>(); in checkDeadSymbols() local 262 for (auto I = Syms.begin(), E = Syms.end(); I != E; ++I) { in checkDeadSymbols()
|
| /freebsd-12.1/contrib/llvm/lib/LTO/ |
| H A D | LTO.cpp | 446 void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms, in addModuleToGlobalRes() argument 452 for (const InputFile::Symbol &Sym : Syms) { in addModuleToGlobalRes() 617 LTO::addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, in addRegularLTO() argument 665 for (const InputFile::Symbol &Sym : Syms) { in addRegularLTO() 760 Error LTO::addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, in addThinLTO() argument 768 for (const InputFile::Symbol &Sym : Syms) { in addThinLTO()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Object/ |
| H A D | ELF.h | 246 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 297 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, in getSectionIndex() argument 302 Sym, Syms.begin(), ShndxTable); in getSectionIndex()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-readobj/ |
| H A D | ELFDumper.cpp | 294 Elf_Sym_Range Syms(nullptr, nullptr); in printSymbolsHelper() local 298 Syms = dynamic_symbols(); in printSymbolsHelper() 306 Syms = unwrapOrError(Obj->symbols(DotSymtabSec)); in printSymbolsHelper() 310 if (Syms.begin() == Syms.end()) in printSymbolsHelper() 313 for (const auto &Sym : Syms) in printSymbolsHelper() 613 ListScope Syms(W, "Symbols"); in printVersionSymbolSection() local 802 Elf_Sym_Range Syms = unwrapOrError(Obj->symbols(DotSymtabSec)); in getStaticSymbolName() local 803 if (Index >= Syms.size()) in getStaticSymbolName() 805 const Elf_Sym *Sym = &Syms[Index]; in getStaticSymbolName() 1988 Elf_Sym_Range Syms = dynamic_symbols(); in printGnuHashTable() local [all …]
|