Searched refs:objSym (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | InputFiles.cpp | 1081 for (const lto::InputFile::Symbol &objSym : obj->symbols()) { in parse() local 1082 StringRef symName = saver.save(objSym.getName()); in parse() 1083 int comdatIndex = objSym.getComdatIndex(); in parse() 1086 if (objSym.isExecutable()) in parse() 1090 if (objSym.isUndefined()) { in parse() 1092 if (objSym.isWeak()) in parse() 1107 } else if (objSym.isCommon()) { in parse() 1108 sym = ctx.symtab.addCommon(this, symName, objSym.getCommonSize()); in parse() 1109 } else if (objSym.isWeak() && objSym.isIndirect()) { in parse() 1112 std::string fallback = std::string(objSym.getCOFFWeakExternalFallback()); in parse() [all …]
|
H A D | LTO.cpp | 148 for (const lto::InputFile::Symbol &objSym : obj.symbols()) { in add() local 158 r.Prevailing = !objSym.isUndefined() && sym->getFile() == &f; in add()
|
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | InputFiles.cpp | 2237 static macho::Symbol *createBitcodeSymbol(const lto::InputFile::Symbol &objSym, in createBitcodeSymbol() argument 2239 StringRef name = saver().save(objSym.getName()); in createBitcodeSymbol() 2241 if (objSym.isUndefined()) in createBitcodeSymbol() 2242 return symtab->addUndefined(name, &file, /*isWeakRef=*/objSym.isWeak()); in createBitcodeSymbol() 2247 switch (objSym.getVisibility()) { in createBitcodeSymbol() 2257 isPrivateExtern = isPrivateExtern || objSym.canBeOmittedFromSymbolTable() || in createBitcodeSymbol() 2260 if (objSym.isCommon()) in createBitcodeSymbol() 2261 return symtab->addCommon(name, &file, objSym.getCommonSize(), in createBitcodeSymbol() 2262 objSym.getCommonAlignment(), isPrivateExtern); in createBitcodeSymbol() 2265 /*size=*/0, objSym.isWeak(), isPrivateExtern, in createBitcodeSymbol() [all …]
|
H A D | LTO.cpp | 121 for (const lto::InputFile::Symbol &objSym : objSyms) { in add() 131 r.Prevailing = !objSym.isUndefined() && sym->getFile() == &f; in add() 132 for (const lto::InputFile::Symbol &objSym : objSyms) { add() local
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | InputFiles.cpp | 1745 const lto::InputFile::Symbol &objSym, BitcodeFile &f) { in createBitcodeSymbol() argument 1746 uint8_t binding = objSym.isWeak() ? STB_WEAK : STB_GLOBAL; in createBitcodeSymbol() 1747 uint8_t type = objSym.isTLS() ? STT_TLS : STT_NOTYPE; in createBitcodeSymbol() 1748 uint8_t visibility = mapVisibility(objSym.getVisibility()); in createBitcodeSymbol() 1751 sym = symtab.insert(saver().save(objSym.getName())); in createBitcodeSymbol() 1753 int c = objSym.getComdatIndex(); in createBitcodeSymbol() 1754 if (objSym.isUndefined() || (c != -1 && !keptComdats[c])) { in createBitcodeSymbol() 1761 if (objSym.isCommon()) { in createBitcodeSymbol() 1763 objSym.getCommonAlignment(), in createBitcodeSymbol() 1764 objSym.getCommonSize()}); in createBitcodeSymbol() [all …]
|
H A D | LTO.cpp | 228 const lto::InputFile::Symbol &objSym = objSyms[i]; in add() local 236 r.Prevailing = !objSym.isUndefined() && sym->file == &f; in add() 249 usedStartStop.count(objSym.getSectionName()); in add()
|