Home | History | Annotate | Download | only in Object

Lines Matching refs:symbol

62   // Verify that the symbol points to a valid entry in the symbol table.
67 report_fatal_error("Symbol was outside of symbol table.");
70 == 0 && "Symbol did not point to the beginning of a symbol");
193 // in the same section as this symbol, and looking for either the next
194 // symbol, or the end of the section.
266 // Check for section symbol.
529 // The symbol table ends where the string table begins.
659 error_code COFFObjectFile::getSymbolName(const coff_symbol *symbol,
662 if (symbol->Name.Offset.Zeroes == 0) {
663 uint32_t Offset = symbol->Name.Offset.Offset;
669 if (symbol->Name.ShortName[7] == 0)
671 Res = StringRef(symbol->Name.ShortName);
674 Res = StringRef(symbol->Name.ShortName, 8);
679 const coff_symbol *symbol) const {
682 if ( symbol->NumberOfAuxSymbols > 0 ) {
683 // AUX data comes immediately after the symbol in COFF
684 aux = reinterpret_cast<const uint8_t *>(symbol + 1);
686 // Verify that the aux symbol points to a valid entry in the symbol table.
691 report_fatal_error("Aux Symbol data was outside of symbol table.");
694 == 0 && "Aux Symbol data did not point to the beginning of a symbol");
697 return ArrayRef<uint8_t>(aux, symbol->NumberOfAuxSymbols * sizeof(coff_symbol));