Home
last modified time | relevance | path

Searched refs:objSym (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/lld/wasm/
DInputFiles.cpp582 const lto::InputFile::Symbol &objSym, in createBitcodeSymbol() argument
584 StringRef name = saver.save(objSym.getName()); in createBitcodeSymbol()
586 uint32_t flags = objSym.isWeak() ? WASM_SYMBOL_BINDING_WEAK : 0; in createBitcodeSymbol()
587 flags |= mapVisibility(objSym.getVisibility()); in createBitcodeSymbol()
589 int c = objSym.getComdatIndex(); in createBitcodeSymbol()
592 if (objSym.isUndefined() || excludedByComdat) { in createBitcodeSymbol()
594 if (objSym.isExecutable()) in createBitcodeSymbol()
600 if (objSym.isExecutable()) in createBitcodeSymbol()
625 for (const lto::InputFile::Symbol &objSym : obj->symbols()) in parse() local
626 symbols.push_back(createBitcodeSymbol(keptComdats, objSym, *this)); in parse()
DLTO.cpp95 for (const lto::InputFile::Symbol &objSym : obj.symbols()) { in add() local
105 r.Prevailing = !objSym.isUndefined() && sym->getFile() == &f; in add()
/external/llvm-project/lld/MachO/
DLTO.cpp41 for (const lto::InputFile::Symbol &objSym : objSyms) { in add() local
50 r.Prevailing = !objSym.isUndefined(); in add()
/external/llvm-project/lld/COFF/
DInputFiles.cpp1049 for (const lto::InputFile::Symbol &objSym : obj->symbols()) { in parse() local
1050 StringRef symName = saver.save(objSym.getName()); in parse()
1051 int comdatIndex = objSym.getComdatIndex(); in parse()
1053 if (objSym.isUndefined()) { in parse()
1055 } else if (objSym.isCommon()) { in parse()
1056 sym = symtab->addCommon(this, symName, objSym.getCommonSize()); in parse()
1057 } else if (objSym.isWeak() && objSym.isIndirect()) { in parse()
1060 std::string fallback = std::string(objSym.getCOFFWeakExternalFallback()); in parse()
1074 if (objSym.isUsed()) in parse()
DLTO.cpp130 for (const lto::InputFile::Symbol &objSym : obj.symbols()) { in add() local
140 r.Prevailing = !objSym.isUndefined() && sym->getFile() == &f; in add()
/external/llvm-project/lld/ELF/
DInputFiles.cpp1699 const lto::InputFile::Symbol &objSym, in createBitcodeSymbol() argument
1701 StringRef name = saver.save(objSym.getName()); in createBitcodeSymbol()
1702 uint8_t binding = objSym.isWeak() ? STB_WEAK : STB_GLOBAL; in createBitcodeSymbol()
1703 uint8_t type = objSym.isTLS() ? STT_TLS : STT_NOTYPE; in createBitcodeSymbol()
1704 uint8_t visibility = mapVisibility(objSym.getVisibility()); in createBitcodeSymbol()
1705 bool canOmitFromDynSym = objSym.canBeOmittedFromSymbolTable(); in createBitcodeSymbol()
1707 int c = objSym.getComdatIndex(); in createBitcodeSymbol()
1708 if (objSym.isUndefined() || (c != -1 && !keptComdats[c])) { in createBitcodeSymbol()
1717 if (objSym.isCommon()) in createBitcodeSymbol()
1720 objSym.getCommonAlignment(), objSym.getCommonSize()}); in createBitcodeSymbol()
[all …]
DLTO.cpp230 const lto::InputFile::Symbol &objSym = objSyms[i]; in add() local
238 r.Prevailing = !objSym.isUndefined() && sym->file == &f; in add()
248 usedStartStop.count(objSym.getSectionName()); in add()