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()
153 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_MEM_EXECUTE) in graphifySections()
155 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_MEM_READ) in graphifySections()
157 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_MEM_WRITE) in graphifySections()
164 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_LNK_REMOVE) in graphifySections()
171 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) in graphifySections()
173 *GraphSec, getSectionSize(Obj, *Sec), in graphifySections()
174 orc::ExecutorAddr(getSectionAddress(Obj, *Sec)), in graphifySections()
175 (*Sec)->getAlignment(), 0); in graphifySections()
178 if (auto Err = Obj.getSectionContents(*Sec, Data)) in graphifySections()
190 *GraphSec, CharData, orc::ExecutorAddr(getSectionAddress(Obj, *Sec)), in graphifySections()
191 (*Sec)->getAlignment(), 0); in graphifySections()
219 const object::coff_section *Sec = nullptr; in graphifySymbols() local
227 Sec = *SecOrErr; in graphifySymbols()
236 << getCOFFSectionName(SectionIndex, Sec, *Sym) in graphifySymbols()
240 GSym = createExternalSymbol(SymIndex, SymbolName, *Sym, Sec); in graphifySymbols()
249 createDefinedSymbol(SymIndex, SymbolName, *Sym, Sec); in graphifySymbols()
258 << getCOFFSectionName(SectionIndex, Sec, *Sym) in graphifySymbols()