reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
528 i != e; ++i) { 528 i != e; ++i) { 529 OS.write(i->Header.Name, COFF::NameSize); 530 OS << binary_le(i->Header.Value); 532 OS << binary_le(i->Header.SectionNumber); 534 OS << binary_le(static_cast<int16_t>(i->Header.SectionNumber)); 535 OS << binary_le(i->Header.Type) << binary_le(i->Header.StorageClass) 535 OS << binary_le(i->Header.Type) << binary_le(i->Header.StorageClass) 536 << binary_le(i->Header.NumberOfAuxSymbols); 538 if (i->FunctionDefinition) { 539 OS << binary_le(i->FunctionDefinition->TagIndex) 540 << binary_le(i->FunctionDefinition->TotalSize) 541 << binary_le(i->FunctionDefinition->PointerToLinenumber) 542 << binary_le(i->FunctionDefinition->PointerToNextFunction) 543 << zeros(i->FunctionDefinition->unused); 546 if (i->bfAndefSymbol) { 547 OS << zeros(i->bfAndefSymbol->unused1) 548 << binary_le(i->bfAndefSymbol->Linenumber) 549 << zeros(i->bfAndefSymbol->unused2) 550 << binary_le(i->bfAndefSymbol->PointerToNextFunction) 551 << zeros(i->bfAndefSymbol->unused3); 554 if (i->WeakExternal) { 555 OS << binary_le(i->WeakExternal->TagIndex) 556 << binary_le(i->WeakExternal->Characteristics) 557 << zeros(i->WeakExternal->unused); 560 if (!i->File.empty()) { 563 (i->File.size() + SymbolSize - 1) / SymbolSize; 565 uint32_t NumZeros = NumberOfAuxBytes - i->File.size(); 566 OS.write(i->File.data(), i->File.size()); 566 OS.write(i->File.data(), i->File.size()); 569 if (i->SectionDefinition) { 570 OS << binary_le(i->SectionDefinition->Length) 571 << binary_le(i->SectionDefinition->NumberOfRelocations) 572 << binary_le(i->SectionDefinition->NumberOfLinenumbers) 573 << binary_le(i->SectionDefinition->CheckSum) 574 << binary_le(static_cast<int16_t>(i->SectionDefinition->Number)) 575 << binary_le(i->SectionDefinition->Selection) 576 << zeros(i->SectionDefinition->unused) 577 << binary_le(static_cast<int16_t>(i->SectionDefinition->Number >> 16)); 580 if (i->CLRToken) { 581 OS << binary_le(i->CLRToken->AuxType) << zeros(i->CLRToken->unused1) 581 OS << binary_le(i->CLRToken->AuxType) << zeros(i->CLRToken->unused1) 582 << binary_le(i->CLRToken->SymbolTableIndex) 583 << zeros(i->CLRToken->unused2);