Lines Matching refs:Out

210 static llvm::raw_ostream &writeName(llvm::raw_ostream &Out, 
214 Out << Name[i];
216 return Out;
221 static llvm::raw_ostream &writeBitMask(llvm::raw_ostream &Out,
225 Out << Arr[i].second << ", ";
226 return Out;
244 const llvm::object::coff_file_header *Header,llvm::raw_ostream &Out) {
246 Out << "header: !Header" << endl;
247 Out << " Machine: ";
248 Out << nameLookup(MachineTypePairs, Header->Machine, "# Unknown_MachineTypes")
250 return yaml::writeHexNumber(Out, Header->Machine) << ")" << endl << endl;
255 std::size_t NumSections, llvm::raw_ostream &Out) {
257 Out << "sections:" << endl;
262 Out << " - !Section" << endl;
263 Out << " Name: ";
264 yaml::writeName(Out, sect->Name, sizeof(sect->Name)) << endl;
266 Out << " Characteristics: [";
267 yaml::writeBitMask(Out, SectionCharacteristicsPairs1, sect->Characteristics);
268 Out << nameLookup(SectionCharacteristicsPairsAlignment,
271 yaml::writeBitMask(Out, SectionCharacteristicsPairs2, sect->Characteristics);
272 Out << "] # ";
273 yaml::writeHexNumber(Out, sect->Characteristics) << endl;
277 Out << " SectionData: ";
278 yaml::writeHexStream(Out, sectionData) << endl;
280 Out << " Relocations:\n";
285 Out << " - !Relocation" << endl;
286 Out << " VirtualAddress: " ;
287 yaml::writeHexNumber(Out, reloc->VirtualAddress) << endl;
288 Out << " SymbolTableIndex: " << reloc->SymbolTableIndex << endl;
289 Out << " Type: "
292 Out << endl;
296 return Out;
300 std::size_t NumSymbols, llvm::raw_ostream &Out) {
302 Out << "symbols:" << endl;
313 Out << " - !Symbol" << endl;
314 Out << " Name: " << str << endl;
316 Out << " Value: " << symbol->Value << endl;
317 Out << " SectionNumber: " << symbol->SectionNumber << endl;
319 Out << " SimpleType: "
324 Out << " ComplexType: "
329 Out << " StorageClass: "
336 Out << " NumberOfAuxSymbols: "
338 Out << " AuxillaryData: ";
339 yaml::writeHexStream(Out, aux);
342 Out << endl;
345 return Out;
349 llvm::error_code coff2yaml(llvm::raw_ostream &Out, llvm::MemoryBuffer *TheObj) {
356 yamlCOFFHeader(hd, Out);
357 yamlCOFFSections(obj, hd->NumberOfSections, Out);
358 yamlCOFFSymbols(obj, hd->NumberOfSymbols, Out);