Lines Matching refs:symbol
525 LDSymbol* symbol = NULL; in addScriptSymbols() local
526 assert((*it).second.symbol().type() == Operand::SYMBOL); in addScriptSymbols()
527 const llvm::StringRef symName = (*it).second.symbol().name(); in addScriptSymbols()
549 symbol = m_pBuilder->AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>( in addScriptSymbols()
563 symbol = in addScriptSymbols()
576 (*it).first = symbol; in addScriptSymbols()
714 Module::sym_iterator symbol, symEnd = m_pModule->sym_end(); in finalizeSymbolValue() local
715 for (symbol = m_pModule->sym_begin(); symbol != symEnd; ++symbol) { in finalizeSymbolValue()
716 if ((*symbol)->resolveInfo()->isAbsolute() || in finalizeSymbolValue()
717 (*symbol)->resolveInfo()->type() == ResolveInfo::File) { in finalizeSymbolValue()
723 if ((*symbol)->resolveInfo()->type() == ResolveInfo::ThreadLocal) { in finalizeSymbolValue()
724 m_LDBackend.finalizeTLSSymbol(**symbol); in finalizeSymbolValue()
728 if ((*symbol)->hasFragRef()) { in finalizeSymbolValue()
732 uint64_t value = (*symbol)->fragRef()->getOutputOffset(); in finalizeSymbolValue()
733 assert((*symbol)->fragRef()->frag() != NULL); in finalizeSymbolValue()
735 (*symbol)->fragRef()->frag()->getParent()->getSection().addr(); in finalizeSymbolValue()
736 (*symbol)->setValue(value + addr); in finalizeSymbolValue()
748 LDSymbol* symbol = (*assign).first; in finalizeSymbolValue() local
751 if (symbol == NULL) in finalizeSymbolValue()
758 symbol->setValue(assignment.symbol().value()); in finalizeSymbolValue()