Searched refs:objSym (Results 1 – 7 of 7) sorted by relevance
582 const lto::InputFile::Symbol &objSym, in createBitcodeSymbol() argument584 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() local626 symbols.push_back(createBitcodeSymbol(keptComdats, objSym, *this)); in parse()
95 for (const lto::InputFile::Symbol &objSym : obj.symbols()) { in add() local105 r.Prevailing = !objSym.isUndefined() && sym->getFile() == &f; in add()
41 for (const lto::InputFile::Symbol &objSym : objSyms) { in add() local50 r.Prevailing = !objSym.isUndefined(); in add()
1049 for (const lto::InputFile::Symbol &objSym : obj->symbols()) { in parse() local1050 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()
130 for (const lto::InputFile::Symbol &objSym : obj.symbols()) { in add() local140 r.Prevailing = !objSym.isUndefined() && sym->getFile() == &f; in add()
1699 const lto::InputFile::Symbol &objSym, in createBitcodeSymbol() argument1701 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 …]
230 const lto::InputFile::Symbol &objSym = objSyms[i]; in add() local238 r.Prevailing = !objSym.isUndefined() && sym->file == &f; in add()248 usedStartStop.count(objSym.getSectionName()); in add()