Lines Matching refs:symbol
59 Module::sym_iterator symbol, symEnd = m_Module.sym_end();
60 for (symbol = m_Module.sym_begin(); symbol != symEnd; ++symbol) {
62 if ((*symbol)->resolveInfo()->isAbsolute() ||
63 (*symbol)->resolveInfo()->type() == ResolveInfo::File) {
66 (*symbol)->setValue(0x0);
70 if ((*symbol)->resolveInfo()->type() == ResolveInfo::ThreadLocal) {
71 m_Backend.finalizeTLSSymbol(**symbol);
75 if ((*symbol)->hasFragRef()) {
76 // set the virtual address of the symbol. If the output file is
78 // And the symbol's value become section relative offset.
79 uint64_t value = (*symbol)->fragRef()->getOutputOffset();
80 assert(NULL != (*symbol)->fragRef()->frag());
81 uint64_t addr = (*symbol)->fragRef()->frag()->getParent()->getSection().addr();
82 (*symbol)->setValue(value + addr);