Lines Matching refs:Symbols
155 SmallVector<SymbolEntry, 64> Symbols; in loadSegment32() local
183 Symbols.push_back(SymbolEntry(STE->Value, Name)); in loadSegment32()
189 array_pod_sort(Symbols.begin(), Symbols.end()); in loadSegment32()
192 if (!Symbols.size()) in loadSegment32()
198 for (unsigned i = 0, e = Symbols.size() - 1; i != e; ++i) { in loadSegment32()
199 uint64_t StartOffset = Sect->Address + Symbols[i].first; in loadSegment32()
200 uint64_t EndOffset = Symbols[i + 1].first - 1; in loadSegment32()
201 DEBUG(dbgs() << "Extracting function: " << Symbols[i].second in loadSegment32()
203 extractFunction(Symbols[i].second, Base + StartOffset, Base + EndOffset); in loadSegment32()
207 uint64_t StartOffset = Symbols[Symbols.size() - 1].first; in loadSegment32()
209 DEBUG(dbgs() << "Extracting function: " << Symbols[Symbols.size()-1].second in loadSegment32()
211 extractFunction(Symbols[Symbols.size()-1].second, in loadSegment32()
229 unsigned NumSymbols = Symbols.size(); in loadSegment32()
230 assert(NumSymbols > 0 && Symbols[0].first <= Offset && in loadSegment32()
233 if (Symbols[SymbolNum + 1].first > Offset) in loadSegment32()
236 Offset -= Symbols[SymbolNum].first; in loadSegment32()
294 SmallVector<SymbolEntry, 64> Symbols; in loadSegment64() local
320 Symbols.push_back(SymbolEntry(STE->Value, Name)); in loadSegment64()
326 array_pod_sort(Symbols.begin(), Symbols.end()); in loadSegment64()
329 if (!Symbols.size()) in loadSegment64()
335 for (unsigned i = 0, e = Symbols.size() - 1; i != e; ++i) { in loadSegment64()
336 uint64_t StartOffset = Sect->Address + Symbols[i].first; in loadSegment64()
337 uint64_t EndOffset = Symbols[i + 1].first - 1; in loadSegment64()
338 DEBUG(dbgs() << "Extracting function: " << Symbols[i].second in loadSegment64()
340 extractFunction(Symbols[i].second, Base + StartOffset, Base + EndOffset); in loadSegment64()
344 uint64_t StartOffset = Symbols[Symbols.size() - 1].first; in loadSegment64()
346 DEBUG(dbgs() << "Extracting function: " << Symbols[Symbols.size()-1].second in loadSegment64()
348 extractFunction(Symbols[Symbols.size()-1].second, in loadSegment64()
366 unsigned NumSymbols = Symbols.size(); in loadSegment64()
367 assert(NumSymbols > 0 && Symbols[0].first <= Offset && in loadSegment64()
370 if (Symbols[SymbolNum + 1].first > Offset) in loadSegment64()
373 Offset -= Symbols[SymbolNum].first; in loadSegment64()