/frameworks/compile/libbcc/runtime/make/ |
H A D | options.mk | 28 AR := ar macro
|
/frameworks/compile/linkloader/include/ |
H A D | ELFHeader.h | 151 static ELFHeader *read(Archiver &AR) { argument 152 if (!AR) { 159 if (!header->serialize(AR)) { 180 bool serialize(Archiver &AR) { argument 181 AR.prologue(TypeTraits<ELFHeaderTy>::size); 183 AR & e_ident; 184 AR & e_type; 185 AR & e_machine; 186 AR & e_version; 187 AR [all...] |
H A D | ELFReloc.h | 62 static ELFRelocTy *readRel(Archiver &AR, size_t index); 65 static ELFRelocTy *readRela(Archiver &AR, size_t index); 79 bool serializeRel(Archiver &AR) { argument 82 AR.prologue(TypeTraits<ELFRelocRelTy>::size); 84 AR & r_offset; 85 AR & r_info; 87 AR.epilogue(TypeTraits<ELFRelocRelTy>::size); 88 return AR; 92 bool serializeRela(Archiver &AR) { argument 93 AR [all...] |
H A D | ELFSectionHeader.h | 89 read(Archiver &AR, ELFObjectTy const *owner, size_t index = 0); 121 bool serialize(Archiver &AR) { argument 122 AR.prologue(TypeTraits<ELFSectionHeader>::size); 124 AR & sh_name; 125 AR & sh_type; 126 AR & sh_flags; 127 AR & sh_addr; 128 AR & sh_offset; 129 AR & sh_size; 130 AR 172 serialize(Archiver &AR) argument [all...] |
H A D | ELFSectionProgBits.h | 36 static ELFSectionProgBits *read(Archiver &AR, 66 bool serialize(Archiver &AR) { argument 70 AR.seek(sh->getOffset(), true); 71 AR.prologue(sh->getSize()); 72 AR.readBytes(chunk.getBuffer(), sh->getSize()); 73 AR.epilogue(sh->getSize()); 75 return AR;
|
H A D | ELFSymbol.h | 135 read(Archiver &AR, ELFObject<Bitwidth> const *owner, size_t index = 0); 158 bool serialize(Archiver &AR) { argument 159 AR.prologue(TypeTraits<ELFSymbol>::size); 161 AR & st_name; 162 AR & st_value; 163 AR & st_size; 164 AR & st_info; 165 AR & st_other; 166 AR & st_shndx; 168 AR 182 serialize(Archiver &AR) argument [all...] |
/frameworks/compile/linkloader/include/impl/ |
H A D | ELFObject.hxx | 35 ELFObject<Bitwidth>::read(Archiver &AR) { argument 39 object->header.reset(ELFHeaderTy::read(AR)); 45 object->shtab.reset(ELFSectionHeaderTableTy::read(AR, object.get())); 58 ELFSectionTy::read(AR, object.get(), (*object->shtab)[i])); 73 ELFSectionTy::read(AR, object.get(), (*object->shtab)[index]));
|
H A D | ELFReloc.hxx | 28 ELFReloc_CRTP<Bitwidth>::readRela(Archiver &AR, size_t index) { argument 29 if (!AR) { 37 if (!sh->serializeRela(AR)) { 56 ELFReloc_CRTP<Bitwidth>::readRel(Archiver &AR, size_t index) { argument 57 if (!AR) { 66 if (!sh->serializeRel(AR)) {
|
H A D | ELFSection.hxx | 34 ELFSection<Bitwidth>::read(Archiver &AR, argument 46 return ELFSectionStrTabTy::read(AR, sh); 49 return ELFSectionSymTabTy::read(AR, owner, sh); 52 return ELFSectionProgBitsTy::read(AR, owner, sh); 55 return ELFSectionNoBitsTy::read(AR, sh); 59 return ELFSectionRelTableTy::read(AR, sh);
|
H A D | ELFSectionHeader.hxx | 34 ELFSectionHeader_CRTP<Bitwidth>::read(Archiver &AR, argument 38 if (!AR) { 46 if (!sh->serialize(AR)) {
|
H A D | ELFSectionHeaderTable.hxx | 36 ELFSectionHeaderTable<Bitwidth>::read(Archiver &AR, ELFObjectTy *owner) { argument 37 if (!AR) { 53 AR.seek(header->getSectionHeaderTableOffset(), true); 57 ELFSectionHeaderTy::read(AR, owner, i));
|
H A D | ELFSectionNoBits.hxx | 32 ELFSectionNoBits<Bitwidth>::read(Archiver &AR, ELFSectionHeaderTy const *sh) { argument
|
H A D | ELFSectionProgBits.hxx | 33 ELFSectionProgBits<Bitwidth>::read(Archiver &AR, argument 77 if (!result->serialize(AR)) {
|
H A D | ELFSectionRelTable.hxx | 55 ELFSectionRelTable<Bitwidth>::read(Archiver &AR, argument 63 AR.seek(sh->getOffset(), true); 72 rt->table.push_back(ELFRelocTy::readRel(AR, i)); 78 rt->table.push_back(ELFRelocTy::readRela(AR, i)); 82 if (!AR) {
|
H A D | ELFSectionStrTab.hxx | 30 ELFSectionStrTab<Bitwidth>::read(Archiver &AR, argument 39 AR.seek(sh->getOffset(), true); 40 AR.prologue(sh->getSize()); 41 AR.readBytes(&*st->buf.begin(), sh->getSize()); 42 AR.epilogue(sh->getSize()); 44 if (!AR) {
|
H A D | ELFSectionSymTab.hxx | 88 ELFSectionSymTab<Bitwidth>::read(Archiver &AR, argument 98 AR.seek(sh->getOffset(), true); 103 st->table.push_back(ELFSymbolTy::read(AR, owner, i)); 106 if (!AR) {
|
H A D | ELFSymbol.hxx | 45 ELFSymbol_CRTP<Bitwidth>::read(Archiver &AR, argument 48 if (!AR) { 56 if (!sh->serialize(AR)) {
|
/frameworks/compile/linkloader/ |
H A D | main.cpp | 144 void dump_and_run_object(Archiver &AR, int argc, char **argv) { argument 145 llvm::OwningPtr<ELFObject<Bitwidth> > object(ELFObject<Bitwidth>::read(AR)); 173 void dump_and_run_file_from_archive(bool is32bit, Archiver &AR, argument 176 dump_and_run_object<32>(AR, argc, argv); 178 dump_and_run_object<64>(AR, argc, argv); 203 ArchiveReaderLE AR(image, size); 204 dump_and_run_file_from_archive(is32bit, AR, argc, argv); 206 ArchiveReaderBE AR(image, size); 207 dump_and_run_file_from_archive(is32bit, AR, argc, argv);
|