Lines Matching refs:Sec

53                                               const object::coff_section *Sec) {  in getSectionSize()  argument
57 return std::min(Sec->VirtualSize, Sec->SizeOfRawData); in getSectionSize()
58 return Sec->SizeOfRawData; in getSectionSize()
97 const object::coff_section *Sec, in getCOFFSectionName() argument
114 if (Expected<StringRef> SecNameOrErr = Obj.getSectionName(Sec)) in getCOFFSectionName()
129 Expected<const object::coff_section *> Sec = Obj.getSection(SecIndex); in graphifySections() local
130 if (!Sec) in graphifySections()
131 return Sec.takeError(); in graphifySections()
134 if (Expected<StringRef> SecNameOrErr = Obj.getSectionName(*Sec)) in graphifySections()
148 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_MEM_EXECUTE) in graphifySections()
150 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_MEM_READ) in graphifySections()
152 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_MEM_WRITE) in graphifySections()
163 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) in graphifySections()
165 *GraphSec, getSectionSize(Obj, *Sec), in graphifySections()
166 orc::ExecutorAddr(getSectionAddress(Obj, *Sec)), in graphifySections()
167 (*Sec)->getAlignment(), 0); in graphifySections()
170 if (auto Err = Obj.getSectionContents(*Sec, Data)) in graphifySections()
177 orc::ExecutorAddr(getSectionAddress(Obj, *Sec)), in graphifySections()
178 (*Sec)->getAlignment(), 0); in graphifySections()
206 const object::coff_section *Sec = nullptr; in graphifySymbols() local
214 Sec = *SecOrErr; in graphifySymbols()
223 << getCOFFSectionName(SectionIndex, Sec, *Sym) in graphifySymbols()
231 << getCOFFSectionName(SectionIndex, Sec, *Sym) in graphifySymbols()
246 createDefinedSymbol(SymIndex, SymbolName, *Sym, Sec); in graphifySymbols()
255 << getCOFFSectionName(SectionIndex, Sec, *Sym) in graphifySymbols()