Home
last modified time | relevance | path

Searched refs:coff_symbol (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/MC/
DWinCOFFObjectWriter.cpp372 COFFSymbol *coff_symbol = createSymbol(Sec.getSectionName()); in DefineSection() local
374 coff_section->Symbol = coff_symbol; in DefineSection()
375 coff_symbol->Section = coff_section; in DefineSection()
376 coff_symbol->Data.StorageClass = COFF::IMAGE_SYM_CLASS_STATIC; in DefineSection()
379 coff_symbol->Aux.resize(1); in DefineSection()
380 memset(&coff_symbol->Aux[0], 0, sizeof(coff_symbol->Aux[0])); in DefineSection()
381 coff_symbol->Aux[0].AuxType = ATSectionDefinition; in DefineSection()
382 coff_symbol->Aux[0].Aux.SectionDefinition.Selection = Sec.getSelection(); in DefineSection()
416 COFFSymbol *coff_symbol = GetOrCreateCOFFSymbol(&Symbol); in DefineSymbol() local
418 coff_symbol->Data.Type = (SymbolData.getFlags() & 0x0000FFFF) >> 0; in DefineSymbol()
[all …]
/external/llvm/lib/Object/
DCOFFObjectFile.cpp57 const coff_symbol *COFFObjectFile::toSymb(DataRefImpl Symb) const { in toSymb()
58 const coff_symbol *addr = reinterpret_cast<const coff_symbol*>(Symb.p); in toSymb()
65 + (Header->NumberOfSymbols * sizeof(coff_symbol))) in toSymb()
68 assert((offset - Header->PointerToSymbolTable) % sizeof(coff_symbol) in toSymb()
94 const coff_symbol *symb = toSymb(Symb); in getSymbolNext()
103 const coff_symbol *symb = toSymb(Symb); in getSymbolName()
109 const coff_symbol *symb = toSymb(Symb); in getSymbolFileOffset()
127 const coff_symbol *symb = toSymb(Symb); in getSymbolAddress()
145 const coff_symbol *symb = toSymb(Symb); in getSymbolType()
167 const coff_symbol *symb = toSymb(Symb); in getSymbolFlags()
[all …]
/external/llvm/include/llvm/Object/
DCOFF.h37 struct coff_symbol { struct
98 const coff_symbol *SymbolTable;
104 const coff_symbol *toSymb(DataRefImpl Symb) const;
174 const coff_symbol *getCOFFSymbol(symbol_iterator &It) const;
184 error_code getSymbol(uint32_t index, const coff_symbol *&Res) const;
187 const coff_symbol *s; in getAuxSymbol()
192 error_code getSymbolName(const coff_symbol *symbol, StringRef &Res) const;
193 ArrayRef<uint8_t> getSymbolAuxData(const coff_symbol *symbol) const;
/external/llvm/utils/obj2yaml/
Dcoff2yaml.cpp306 const llvm::object::coff_symbol *symbol = Obj.getCOFFSymbol(iter); in yamlCOFFSymbols()
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp498 const coff_symbol *symbol = 0; in PrintCOFFSymbolTable()