Home | History | Annotate | Download | only in Object

Lines Matching refs:symbol

118   // Add the symbol set by -u as an undefind global symbol into symbol pool
138 // create the output symbol if it dose not have one
445 // Traverse all the resolveInfo and add the output symbol to output
485 // go through the entire symbol assignments
487 LDSymbol* symbol = NULL;
488 assert((*it).second.symbol().type() == Operand::SYMBOL);
489 const llvm::StringRef symName = (*it).second.symbol().name();
494 // if the symbol does not exist, we can set type to NOTYPE
503 // Add symbol and refine the visibility if needed
511 symbol =
526 symbol =
538 // Set symbol of this assignment.
539 (*it).first = symbol;
563 // bypass the reloc if the symbol is in the discarded input section
612 // into output symbol table
666 /// finalizeSymbolValue - finalize the resolved symbol value.
668 /// symbol.
671 Module::sym_iterator symbol, symEnd = m_pModule->sym_end();
672 for (symbol = m_pModule->sym_begin(); symbol != symEnd; ++symbol) {
674 if ((*symbol)->resolveInfo()->isAbsolute() ||
675 (*symbol)->resolveInfo()->type() == ResolveInfo::File) {
677 // of symbol resolution)
681 if ((*symbol)->resolveInfo()->type() == ResolveInfo::ThreadLocal) {
682 m_LDBackend.finalizeTLSSymbol(**symbol);
686 if ((*symbol)->hasFragRef()) {
687 // set the virtual address of the symbol. If the output file is
689 // And the symbol's value become section relative offset.
690 uint64_t value = (*symbol)->fragRef()->getOutputOffset();
691 assert(NULL != (*symbol)->fragRef()->frag());
693 (*symbol)->fragRef()->frag()->getParent()->getSection().addr();
694 (*symbol)->setValue(value + addr);
706 LDSymbol* symbol = (*assign).first;
709 if (symbol == NULL)
716 symbol->setValue(assignment.symbol().value());
717 } // for each script symbol assignment
760 // bypass the reloc if the symbol is in the discarded input section
827 // bypass the reloc if the symbol is in the discarded input section