Lines Matching refs:symbol
732 Module::const_sym_iterator symbol, symEnd; in sizeNamePools() local
746 for (symbol = symbols.begin(); symbol != symEnd; ++symbol) { in sizeNamePools()
748 if (hasEntryInStrTab(**symbol)) in sizeNamePools()
749 strtab += (*symbol)->nameSize() + 1; in sizeNamePools()
770 for (symbol = symbols.localDynBegin(); symbol != symEnd; ++symbol) { in sizeNamePools()
772 if (hasEntryInStrTab(**symbol)) in sizeNamePools()
773 dynstr += (*symbol)->nameSize() + 1; in sizeNamePools()
782 for (symbol = symbols.dynamicBegin(); symbol != symEnd; ++symbol) { in sizeNamePools()
783 if (DynsymCompare().needGNUHash(**symbol)) in sizeNamePools()
960 Module::const_sym_iterator symbol, symEnd; in emitRegNamePools() local
963 for (symbol = symbols.begin(); symbol != symEnd; ++symbol) { in emitRegNamePools()
965 entry = m_pSymIndexMap->insert(*symbol, sym_exist); in emitRegNamePools()
969 emitSymbol32(symtab32[symIdx], **symbol, strtab, strtabsize, symIdx); in emitRegNamePools()
971 emitSymbol64(symtab64[symIdx], **symbol, strtab, strtabsize, symIdx); in emitRegNamePools()
973 if (hasEntryInStrTab(**symbol)) in emitRegNamePools()
974 strtabsize += (*symbol)->nameSize() + 1; in emitRegNamePools()
1035 Module::const_sym_iterator symbol, symEnd = symbols.dynamicEnd(); in emitDynNamePools() local
1036 for (symbol = symbols.localDynBegin(); symbol != symEnd; ++symbol) { in emitDynNamePools()
1038 emitSymbol32(symtab32[symIdx], **symbol, strtab, strtabsize, symIdx); in emitDynNamePools()
1040 emitSymbol64(symtab64[symIdx], **symbol, strtab, strtabsize, symIdx); in emitDynNamePools()
1042 entry = m_pSymIndexMap->insert(*symbol, sym_exist); in emitDynNamePools()
1046 if (hasEntryInStrTab(**symbol)) in emitDynNamePools()
1047 strtabsize += (*symbol)->nameSize() + 1; in emitDynNamePools()
1126 Module::const_sym_iterator symbol, symEnd = pSymtab.dynamicEnd(); in emitELFHashTab() local
1127 for (symbol = pSymtab.localDynBegin(); symbol != symEnd; ++symbol) { in emitELFHashTab()
1128 llvm::StringRef name((*symbol)->name()); in emitELFHashTab()
1161 Module::const_sym_iterator symbol, symEnd = pSymtab.dynamicEnd(); in emitGNUHashTab() local
1162 for (symbol = pSymtab.dynamicBegin(); symbol != symEnd; ++symbol) { in emitGNUHashTab()
1163 if (DynsymCompare().needGNUHash(**symbol)) in emitGNUHashTab()
1208 for (symbol = pSymtab.localDynBegin() + symidx - 1; symbol != symEnd; in emitGNUHashTab()
1209 ++symbol) { in emitGNUHashTab()
1211 uint32_t djbhash = hasher((*symbol)->name()); in emitGNUHashTab()
1213 symmap.insert(std::make_pair(hash, std::make_pair(*symbol, djbhash))); in emitGNUHashTab()
2153 vma = (*dot).symbol().value(); in setOutputSectionAddress()
2270 uint64_t new_offset = (*it).second.symbol().value() - vma; in setOutputSectionAddress()