H A D | MachOEmitter.cpp | 1 //===- yaml2macho - Convert YAML to a Mach object file -------- 77 writeMachO(raw_ostream & OS) writeMachO() argument 89 writeHeader(raw_ostream & OS) writeHeader() argument 125 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 132 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 148 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 162 writePayloadString(MachOYAML::LoadCommand & LC,raw_ostream & OS) writePayloadString() argument 173 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 180 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 187 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 194 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 200 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 206 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 212 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 218 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 231 ZeroFillBytes(raw_ostream & OS,size_t Size) ZeroFillBytes() argument 236 Fill(raw_ostream & OS,size_t Size,uint32_t Data) Fill() argument 241 ZeroToOffset(raw_ostream & OS,size_t Offset) ZeroToOffset() argument 247 writeLoadCommands(raw_ostream & OS) writeLoadCommands() argument 250 llvm::MachO::macho_load_command Data = LC.Data; writeLoadCommands() local 296 writeSectionData(raw_ostream & OS) writeSectionData() argument 403 writeRelocations(raw_ostream & OS) writeRelocations() argument 427 writeBindOpcodes(raw_ostream & OS,std::vector<MachOYAML::BindOpcode> & BindOpcodes) writeBindOpcodes() argument 432 for (auto Data : Opcode.ULEBExtraData) { writeBindOpcodes() local 435 for (auto Data : Opcode.SLEBExtraData) { writeBindOpcodes() local 445 dumpExportEntry(raw_ostream & OS,MachOYAML::ExportEntry & Entry) dumpExportEntry() argument 470 writeExportTrie(raw_ostream & OS) writeExportTrie() argument 475 writeNListEntry(MachOYAML::NListEntry & NLE,raw_ostream & OS,bool IsLittleEndian) writeNListEntry() argument 489 writeLinkEditData(raw_ostream & OS) writeLinkEditData() argument 559 writeRebaseOpcodes(raw_ostream & OS) writeRebaseOpcodes() argument 565 for (auto Data : Opcode.ExtraData) writeRebaseOpcodes() local 570 writeBasicBindOpcodes(raw_ostream & OS) writeBasicBindOpcodes() argument 574 writeWeakBindOpcodes(raw_ostream & OS) writeWeakBindOpcodes() argument 578 writeLazyBindOpcodes(raw_ostream & OS) writeLazyBindOpcodes() argument 582 writeNameList(raw_ostream & OS) writeNameList() argument 591 writeStringTable(raw_ostream & OS) writeStringTable() argument 598 writeDynamicSymbolTable(raw_ostream & OS) writeDynamicSymbolTable() argument 599 for (auto Data : Obj.LinkEdit.IndirectSymbols) writeDynamicSymbolTable() local 604 writeFunctionStarts(raw_ostream & OS) writeFunctionStarts() argument 615 writeDataInCode(raw_ostream & OS) writeDataInCode() argument 625 writeChainedFixups(raw_ostream & OS) writeChainedFixups() argument 631 writeDyldExportsTrie(raw_ostream & OS) writeDyldExportsTrie() argument 652 writeMachO(raw_ostream & OS) writeMachO() argument 681 writeFatHeader(raw_ostream & OS) writeFatHeader() argument 703 writeFatArch(MachOYAML::FatArch & LC,raw_ostream & OS) writeFatArch() argument 706 writeFatArch(MachOYAML::FatArch & Arch,raw_ostream & OS) writeFatArch() argument 715 writeFatArch(MachOYAML::FatArch & Arch,raw_ostream & OS) writeFatArch() argument 724 writeFatArchs(raw_ostream & OS) writeFatArchs() argument 735 ZeroToOffset(raw_ostream & OS,size_t Offset) ZeroToOffset() argument [all...] |
H A D | ARMWinEHPrinter.cpp | 1 //===-- ARMWinEHPrinter.cpp - Windows on ARM EH Data Printer ----*- C++ -* 75 operator <<(raw_ostream & OS,const ARM::WinEH::ReturnType & RT) operator <<() argument 95 formatSymbol(StringRef Name,uint64_t Address,uint64_t Offset=0) formatSymbol() argument 97 raw_string_ostream OS(Buffer); formatSymbol() local 178 printRange(raw_ostream & OS,ListSeparator & LS,unsigned First,unsigned Last,char Letter) printRange() argument 186 printRange(raw_ostream & OS,uint32_t Mask,ListSeparator & LS,unsigned Start,unsigned End,char Letter) printRange() argument 254 getRelocatedSymbol(const COFFObjectFile &,const SectionRef & Section,uint64_t Offset) getRelocatedSymbol() argument 277 uint32_t Offset = CoffSym.getValue() + SymbolOffset - CS.getValue(); getPreferredSymbol() local 305 llvm::raw_string_ostream OS(Buf); getSymbolForLocation() local 327 opcode_0xxxxxxx(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_0xxxxxxx() argument 338 opcode_10Lxxxxx(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_10Lxxxxx() argument 357 opcode_1100xxxx(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_1100xxxx() argument 369 opcode_11010Lxx(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11010Lxx() argument 386 opcode_11011Lxx(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11011Lxx() argument 403 opcode_11100xxx(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11100xxx() argument 417 opcode_111010xx(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_111010xx() argument 430 opcode_1110110L(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_1110110L() argument 444 opcode_11101110(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11101110() argument 460 opcode_11101111(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11101111() argument 478 opcode_11110101(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11110101() argument 493 opcode_11110110(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11110110() argument 508 opcode_11110111(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11110111() argument 521 opcode_11111000(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111000() argument 536 opcode_11111001(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111001() argument 549 opcode_11111010(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111010() argument 564 opcode_11111011(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111011() argument 571 opcode_11111100(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111100() argument 578 opcode_11111101(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111101() argument 585 opcode_11111110(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111110() argument 592 opcode_11111111(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111111() argument 599 opcode_alloc_s(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_alloc_s() argument 609 opcode_save_r19r20_x(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_r19r20_x() argument 622 opcode_save_fplr(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_fplr() argument 632 opcode_save_fplr_x(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_fplr_x() argument 645 opcode_alloc_m(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_alloc_m() argument 658 opcode_save_regp(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_regp() argument 673 opcode_save_regp_x(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_regp_x() argument 694 opcode_save_reg(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_reg() argument 709 opcode_save_reg_x(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_reg_x() argument 726 opcode_save_lrpair(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_lrpair() argument 742 opcode_save_fregp(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_fregp() argument 757 opcode_save_fregp_x(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_fregp_x() argument 776 opcode_save_freg(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_freg() argument 791 opcode_save_freg_x(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_freg_x() argument 807 opcode_alloc_l(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_alloc_l() argument 820 opcode_setfp(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_setfp() argument 829 opcode_addfp(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_addfp() argument 841 opcode_nop(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_nop() argument 848 opcode_end(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_end() argument 855 opcode_end_c(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_end_c() argument 862 opcode_save_next(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_next() argument 873 opcode_save_any_reg(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_any_reg() argument 950 opcode_trap_frame(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_trap_frame() argument 957 opcode_machine_frame(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_machine_frame() argument 965 opcode_context(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_context() argument 972 opcode_clear_unwound_to_call(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_clear_unwound_to_call() argument 980 opcode_pac_sign_lr(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_pac_sign_lr() argument 990 decodeOpcodes(ArrayRef<uint8_t> Opcodes,unsigned Offset,bool Prologue) decodeOpcodes() argument 1028 uint64_t Offset = VA - SectionVA; dumpXDataRecord() local 1029 const ulittle32_t *Data = dumpXDataRecord() local 1118 llvm::raw_string_ostream OS(Buf); dumpXDataRecord() local 1132 dumpUnpackedEntry(const COFFObjectFile & COFF,const SectionRef Section,uint64_t Offset,unsigned Index,const RuntimeFunction & RF) dumpUnpackedEntry() argument 1157 llvm::raw_string_ostream OS(Buf); dumpUnpackedEntry() local 1171 llvm::raw_string_ostream OS(Buf); dumpUnpackedEntry() local 1200 dumpPackedEntry(const object::COFFObjectFile & COFF,const SectionRef Section,uint64_t Offset,unsigned Index,const RuntimeFunction & RF) dumpPackedEntry() argument 1216 llvm::raw_string_ostream OS(Buf); dumpPackedEntry() local 1298 dumpPackedARM64Entry(const object::COFFObjectFile & COFF,const SectionRef Section,uint64_t Offset,unsigned Index,const RuntimeFunctionARM64 & RF) dumpPackedARM64Entry() argument 1315 llvm::raw_string_ostream OS(Buf); dumpPackedARM64Entry() local 1433 uint64_t Offset = PDataEntrySize * Index; dumpProcedureDataEntry() local 1434 const ulittle32_t *Data = dumpProcedureDataEntry() local [all...] |