/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Object/ |
MachOUniversal.h | 119 ObjectForArch Obj; 121 object_iterator(const ObjectForArch &Obj) : Obj(Obj) {} 122 const ObjectForArch *operator->() const { return &Obj; } 123 const ObjectForArch &operator*() const { return Obj; } 126 return Obj == Other.Obj; 133 Obj = Obj.getNext() [all...] |
/external/clang/lib/CodeGen/ |
ObjectFilePCHContainerOperations.cpp | 319 auto *Obj = OF.get().get(); 320 bool IsCOFF = isa<llvm::object::COFFObjectFile>(Obj);
|
EHScopeStack.h | 277 Cleanup *Obj = new (Buffer) T(A...); 278 (void) Obj; 287 Cleanup *Obj = new (Buffer) T(std::move(A)); 288 (void) Obj;
|
/external/llvm/include/llvm/Object/ |
RelocVisitor.h | 45 explicit RelocVisitor(const ObjectFile &Obj) 46 : ObjToVisit(Obj), HasError(false) {} 257 const MachOObjectFile *Obj = cast<MachOObjectFile>(R.getObject()); 258 return Obj->getRelocationLength(R.getRawDataRefImpl());
|
/external/llvm/lib/DebugInfo/DWARF/ |
DWARFUnit.cpp | 271 auto Obj = object::ObjectFile::createObjectFile(DWOPath); 272 if (!Obj) { 274 consumeError(Obj.takeError()); 277 DWOFile = std::move(Obj.get());
|
/external/llvm/lib/DebugInfo/Symbolize/ |
Symbolize.cpp | 203 bool getGNUDebuglinkContents(const ObjectFile *Obj, std::string &DebugName, 205 if (!Obj) 207 for (const SectionRef &Section : Obj->sections()) { 214 DataExtractor DE(Data, Obj->isLittleEndian(), 0); 232 const MachOObjectFile *Obj) { 234 ArrayRef<uint8_t> bin_uuid = Obj->getUuid(); 272 const ObjectFile *Obj, 277 if (!getGNUDebuglinkContents(Obj, DebuglinkName, CRCHash)) 305 ObjectFile *Obj = ObjOrErr.get(); 306 assert(Obj != nullptr) [all...] |
/external/llvm/lib/ExecutionEngine/ |
GDBRegistrationListener.cpp | 69 OwningBinary<ObjectFile> Obj) 70 : Size(Size), Entry(Entry), Obj(std::move(Obj)) {} 73 : Size(Other.Size), Entry(Other.Entry), Obj(std::move(Other.Obj)) {} 78 Obj = std::move(Other.Obj); 84 OwningBinary<ObjectFile> Obj;
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
RuntimeDyldMachOAArch64.h | 250 const MachOObjectFile &Obj = 253 Obj.getRelocation(RelI->getRawDataRefImpl()); 255 if (Obj.isRelocationScattered(RelInfo)) 264 if (Obj.getAnyRelocationType(RelInfo) == MachO::ARM64_RELOC_ADDEND) { 265 assert(!Obj.getPlainRelocationExternal(RelInfo)); 266 assert(!Obj.getAnyRelocationPCRel(RelInfo)); 267 assert(Obj.getAnyRelocationLength(RelInfo) == 2); 268 int64_t RawAddend = Obj.getPlainRelocationSymbolNum(RelInfo); 272 RelInfo = Obj.getRelocation(RelI->getRawDataRefImpl()); 275 if (Obj.getAnyRelocationType(RelInfo) == MachO::ARM64_RELOC_SUBTRACTOR [all...] |
RuntimeDyldMachOARM.h | 58 const MachOObjectFile &Obj = 61 Obj.getRelocation(RelI->getRawDataRefImpl()); 62 uint32_t RelType = Obj.getAnyRelocationType(RelInfo); 64 if (Obj.isRelocationScattered(RelInfo)) { 66 return processHALFSECTDIFFRelocation(SectionID, RelI, Obj, 69 return processScatteredVANILLA(SectionID, RelI, Obj, ObjSectionToID); 91 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); 94 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) 174 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, 180 return populateIndirectSymbolPointersSection(cast<MachOObjectFile>(Obj), [all...] |
RuntimeDyldMachOI386.h | 39 const MachOObjectFile &Obj = 42 Obj.getRelocation(RelI->getRawDataRefImpl()); 43 uint32_t RelType = Obj.getAnyRelocationType(RelInfo); 45 if (Obj.isRelocationScattered(RelInfo)) { 48 return processSECTDIFFRelocation(SectionID, RelI, Obj, 51 return processScatteredVANILLA(SectionID, RelI, Obj, ObjSectionToID); 68 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); 71 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) 80 // bool IsExtern = Obj.getPlainRelocationExternal(RelInfo); 129 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID [all...] |
/external/llvm/lib/Object/ |
ArchiveWriter.cpp | 258 object::SymbolicFile &Obj = *ObjOrErr.get(); 270 for (const object::BasicSymbolRef &S : Obj.symbols()) {
|
/external/llvm/tools/lli/ |
lli.cpp | 256 void notifyObjectCompiled(const Module *M, MemoryBufferRef Obj) override { 267 outfile.write(Obj.getBufferStart(), Obj.getBufferSize()); 493 Expected<object::OwningBinary<object::ObjectFile>> Obj = 495 if (!Obj) { 497 consumeError(Obj.takeError()); 501 object::OwningBinary<object::ObjectFile> &O = Obj.get();
|
/external/llvm/tools/obj2yaml/ |
coff2yaml.cpp | 21 const object::COFFObjectFile &Obj; 30 COFFDumper(const object::COFFObjectFile &Obj); 36 COFFDumper::COFFDumper(const object::COFFObjectFile &Obj) : Obj(Obj) { 38 Obj.getPE32Header(PE32Header); 43 Obj.getPE32PlusHeader(PE32PlusHeader); 49 dumpSections(Obj.getNumberOfSections()); 50 dumpSymbols(Obj.getNumberOfSymbols()); 89 if (Obj.getDataDirectory(I++, DD) [all...] |
elf2yaml.cpp | 28 const object::ELFFile<ELFT> &Obj; 57 : Obj(O) {} 64 Y->Header.Class = ELFYAML::ELF_ELFCLASS(Obj.getHeader()->getFileClass()); 65 Y->Header.Data = ELFYAML::ELF_ELFDATA(Obj.getHeader()->getDataEncoding()); 66 Y->Header.OSABI = Obj.getHeader()->e_ident[ELF::EI_OSABI]; 67 Y->Header.Type = Obj.getHeader()->e_type; 68 Y->Header.Machine = Obj.getHeader()->e_machine; 69 Y->Header.Flags = Obj.getHeader()->e_flags; 70 Y->Header.Entry = Obj.getHeader()->e_entry; 75 for (const Elf_Shdr &Sec : Obj.sections()) [all...] |
macho2yaml.cpp | 28 const object::MachOObjectFile &Obj; 39 MachODumper(const object::MachOObjectFile &O) : Obj(O) {} 47 if (Obj.isLittleEndian() != sys::IsLittleEndianHost) \ 118 LoadCmd, LC.Sections, Obj.isLittleEndian()); 126 LoadCmd, LC.Sections, Obj.isLittleEndian()); 170 Y->Header.magic = Obj.getHeader().magic; 171 Y->Header.cputype = Obj.getHeader().cputype; 172 Y->Header.cpusubtype = Obj.getHeader().cpusubtype; 173 Y->Header.filetype = Obj.getHeader().filetype; 174 Y->Header.ncmds = Obj.getHeader().ncmds [all...] |
/external/llvm/tools/yaml2obj/ |
yaml2coff.cpp | 33 COFFParser(COFFYAML::Object &Obj) 34 : Obj(Obj), SectionTableStart(0), SectionTableSize(0) { 41 return static_cast<int32_t>(Obj.Sections.size()) > 45 bool isPE() const { return Obj.OptionalHeader.hasValue(); } 47 return Obj.Header.Machine == COFF::IMAGE_FILE_MACHINE_AMD64; 51 return Obj.OptionalHeader->Header.FileAlignment; 63 for (std::vector<COFFYAML::Section>::iterator i = Obj.Sections.begin(), 64 e = Obj.Sections.end(); i != e; ++i) { 101 for (std::vector<COFFYAML::Symbol>::iterator i = Obj.Symbols.begin() [all...] |
yaml2macho.cpp | 31 MachOWriter(MachOYAML::Object &Obj) : Obj(Obj), is64Bit(true), fileStart(0) { 32 is64Bit = Obj.Header.magic == MachO::MH_MAGIC_64 || 33 Obj.Header.magic == MachO::MH_CIGAM_64; 58 MachOYAML::Object &Obj; 77 Header.magic = Obj.Header.magic; 78 Header.cputype = Obj.Header.cputype; 79 Header.cpusubtype = Obj.Header.cpusubtype; 80 Header.filetype = Obj.Header.filetype [all...] |
/external/python/cpython3/Lib/test/ |
test_support.py | 284 class Obj: 286 obj = Obj() 287 with support.swap_attr(obj, "x", 5): 288 self.assertEqual(obj.x, 5) 289 self.assertEqual(obj.x, 1)
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Object/ |
RelocVisitor.h | 45 explicit RelocVisitor(const ObjectFile &Obj) 46 : ObjToVisit(Obj), HasError(false) {} 287 const MachOObjectFile *Obj = cast<MachOObjectFile>(R.getObject()); 288 return Obj->getRelocationLength(R.getRawDataRefImpl());
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Object/ |
RelocVisitor.h | 45 explicit RelocVisitor(const ObjectFile &Obj) 46 : ObjToVisit(Obj), HasError(false) {} 287 const MachOObjectFile *Obj = cast<MachOObjectFile>(R.getObject()); 288 return Obj->getRelocationLength(R.getRawDataRefImpl());
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
Test.java | 26 * Obj is a typical class that implements JSONString. It also 31 class Obj implements JSONString { 36 public Obj(String string, double n, boolean b) { 73 Obj obj = new Obj("A beany object", 42, true); local 114 j = new JSONObject(obj); 137 .key("obj keys") 138 .value(JSONObject.getNames(obj)) 186 jj.value(obj); [all...] |
/external/llvm/lib/Analysis/ |
Lint.cpp | 269 Value *Obj = findValue(*AI, /*OffsetOk=*/true); 270 Assert(!isa<AllocaInst>(Obj), 365 Value *Obj = findValue(V, /*OffsetOk=*/true); 366 Assert(!isa<AllocaInst>(Obj), "Unusual: Returning alloca value", &I);
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldMachO.cpp | 37 getObjectForDebug(const ObjectFile &Obj) const override { 58 const MachOObjectFile &Obj = 61 Obj.getRelocation(RelI->getRawDataRefImpl()); 64 uint32_t RelocType = Obj.getAnyRelocationType(RE); 65 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); 66 unsigned Size = Obj.getAnyRelocationLength(RE); 72 unsigned SymbolBaseAddr = Obj.getScatteredRelocationValue(RE); 73 section_iterator TargetSI = getSectionByAddress(Obj, SymbolBaseAddr); 74 assert(TargetSI != Obj.section_end() && "Can't find section for symbol"); 80 findOrEmitSection(Obj, TargetSection, IsCode, ObjSectionToID) [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
Lint.cpp | 256 Value *Obj = findValue(*AI, /*OffsetOk=*/true); 257 Assert1(!isa<AllocaInst>(Obj), 357 Value *Obj = findValue(V, /*OffsetOk=*/true); 358 Assert1(!isa<AllocaInst>(Obj),
|
/external/clang/test/CodeGenCXX/ |
vtable-layout.cpp | 51 struct Obj {}; 53 struct Base { virtual const Obj *foo() = 0; }; 54 struct Derived : Base { virtual Obj *foo() { return new Obj(); } }; [all...] |