Lines Matching defs:symbol

119   // Add the symbol set by -u as an undefind global symbol into symbol pool
137 // create the output symbol if it dose not have one
452 // symbol table. Since these symbols has fragRef to input fragments, which
487 // Traverse all the resolveInfo and add the output symbol to output
523 // go through the entire symbol assignments
525 LDSymbol* symbol = NULL;
526 assert((*it).second.symbol().type() == Operand::SYMBOL);
527 const llvm::StringRef symName = (*it).second.symbol().name();
532 // if the symbol does not exist, we can set type to NOTYPE
541 // Add symbol and refine the visibility if needed
549 symbol = m_pBuilder->AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>(
563 symbol =
575 // Set symbol of this assignment.
576 (*it).first = symbol;
599 // bypass the reloc if the symbol is in the discarded input section
646 // into output symbol table
681 // we set the .debug_str size here so that there won't be a section symbol for
683 // symbol or not.
709 /// finalizeSymbolValue - finalize the resolved symbol value.
712 /// symbol.
714 Module::sym_iterator symbol, symEnd = m_pModule->sym_end();
715 for (symbol = m_pModule->sym_begin(); symbol != symEnd; ++symbol) {
716 if ((*symbol)->resolveInfo()->isAbsolute() ||
717 (*symbol)->resolveInfo()->type() == ResolveInfo::File) {
719 // of symbol resolution)
723 if ((*symbol)->resolveInfo()->type() == ResolveInfo::ThreadLocal) {
724 m_LDBackend.finalizeTLSSymbol(**symbol);
728 if ((*symbol)->hasFragRef()) {
729 // set the virtual address of the symbol. If the output file is
731 // And the symbol's value become section relative offset.
732 uint64_t value = (*symbol)->fragRef()->getOutputOffset();
733 assert((*symbol)->fragRef()->frag() != NULL);
735 (*symbol)->fragRef()->frag()->getParent()->getSection().addr();
736 (*symbol)->setValue(value + addr);
748 LDSymbol* symbol = (*assign).first;
751 if (symbol == NULL)
758 symbol->setValue(assignment.symbol().value());
759 } // for each script symbol assignment
803 // bypass the reloc if the symbol is in the discarded input section
810 // apply the relocation aginst symbol on DebugString
887 // bypass the reloc if the symbol is in the discarded input section