Home
last modified time | relevance | path

Searched refs:DefinedImportData (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/lld/COFF/
H A DDLL.h23 void add(DefinedImportData *sym) { imports.push_back(sym); } in add()
28 std::vector<DefinedImportData *> imports;
41 void add(DefinedImportData *sym) { imports.push_back(sym); } in add()
54 Chunk *newThunkChunk(DefinedImportData *s, Chunk *tailMerge);
60 std::vector<DefinedImportData *> imports;
H A DDLL.cpp145 static std::vector<std::vector<DefinedImportData *>>
147 const std::vector<DefinedImportData *> &imports) { in binImports()
153 std::map<std::string, std::vector<DefinedImportData *>, decltype(less)> m( in binImports()
155 for (DefinedImportData *sym : imports) in binImports()
158 std::vector<std::vector<DefinedImportData *>> v; in binImports()
161 std::vector<DefinedImportData *> &syms = kv.second; in binImports()
162 llvm::sort(syms, [](DefinedImportData *a, DefinedImportData *b) { in binImports()
676 std::vector<std::vector<DefinedImportData *>> v = binImports(ctx, imports); in create()
679 for (std::vector<DefinedImportData *> &syms : v) { in create()
685 for (DefinedImportData *s : syms) { in create()
[all …]
H A DSymbols.h352 class DefinedImportData : public Defined {
354 DefinedImportData(StringRef n, ImportFile *f) in DefinedImportData() function
388 DefinedImportData *s, uint16_t machine);
397 DefinedImportData *wrappedSym;
432 return cast<DefinedImportData>(this)->getRVA(); in getRVA()
459 return cast<DefinedImportData>(this)->getChunk(); in getChunk()
485 alignas(DefinedImportData) char g[sizeof(DefinedImportData)];
H A DSymbols.cpp84 if (auto *imp = dyn_cast<DefinedImportData>(this)) in isLive()
110 static Chunk *makeImportThunk(COFFLinkerContext &ctx, DefinedImportData *s, in makeImportThunk()
123 DefinedImportData *s, uint16_t machine) in DefinedImportThunk()
H A DMarkLive.cpp49 else if (auto *sym = dyn_cast<DefinedImportData>(b)) in markLive()
H A DSymbolTable.cpp357 if (isa<DefinedImportData>(imp)) { in handleMinGWAutomaticImport()
359 cast<DefinedImportData>(imp)->getDLLName()); in handleMinGWAutomaticImport()
360 impSize = sizeof(DefinedImportData); in handleMinGWAutomaticImport()
787 replaceSymbol<DefinedImportData>(s, n, f); in addImportData()
795 Symbol *SymbolTable::addImportThunk(StringRef name, DefinedImportData *id, in addImportThunk()
H A DSymbolTable.h106 Symbol *addImportThunk(StringRef name, DefinedImportData *s,
H A DInputFiles.h55 class DefinedImportData; variable
H A DMapFile.cpp169 if (auto *impSym = dyn_cast<DefinedImportData>(sym)) in getSymbolStrings()
H A DWriter.cpp1176 if (file->impSym && !isa<DefinedImportData>(file->impSym)) in createImportTables()
1178 DefinedImportData *impSym = cast_or_null<DefinedImportData>(file->impSym); in createImportTables()
1933 if (auto *di = dyn_cast<DefinedImportData>(s)) { in createGuardCFTables()
H A DChunks.h36 class DefinedImportData; variable
H A DInputFiles.cpp1042 name, cast_or_null<DefinedImportData>(impSym), hdr->Machine); in parse()