Searched refs:Obj (Results 1 - 25 of 157) sorted by relevance

1234567

/external/llvm/tools/llvm-pdbdump/
H A DYAMLOutputStyle.cpp54 Obj.Headers.emplace();
55 Obj.Headers->SuperBlock.NumBlocks = File.getBlockCount();
56 Obj.Headers->SuperBlock.BlockMapAddr = File.getBlockMapIndex();
57 Obj.Headers->BlockMapOffset = File.getBlockMapOffset();
58 Obj.Headers->SuperBlock.BlockSize = File.getBlockSize();
60 Obj.Headers->DirectoryBlocks.assign(Blocks.begin(), Blocks.end());
61 Obj.Headers->NumDirectoryBlocks = File.getNumDirectoryBlocks();
62 Obj.Headers->SuperBlock.NumDirectoryBytes = File.getNumDirectoryBytes();
63 Obj.Headers->NumStreams =
65 Obj
134 Out << Obj; local
[all...]
H A DPdbYaml.cpp107 void MappingTraits<PdbObject>::mapping(IO &IO, PdbObject &Obj) { argument
108 IO.mapOptional("MSF", Obj.Headers);
109 IO.mapOptional("StreamSizes", Obj.StreamSizes);
110 IO.mapOptional("StreamMap", Obj.StreamMap);
111 IO.mapOptional("PdbStream", Obj.PdbStream);
112 IO.mapOptional("DbiStream", Obj.DbiStream);
115 void MappingTraits<MsfHeaders>::mapping(IO &IO, MsfHeaders &Obj) { argument
116 IO.mapRequired("SuperBlock", Obj.SuperBlock);
117 IO.mapRequired("NumDirectoryBlocks", Obj.NumDirectoryBlocks);
118 IO.mapRequired("BlockMapOffset", Obj
142 mapping(IO &IO, PdbInfoStream &Obj) argument
149 mapping(IO &IO, PdbDbiStream &Obj) argument
[all...]
/external/llvm/tools/obj2yaml/
H A Dobj2yaml.h21 const llvm::object::COFFObjectFile &Obj);
23 const llvm::object::ObjectFile &Obj);
25 const llvm::object::Binary &Obj);
H A Dobj2yaml.cpp22 static std::error_code dumpObject(const ObjectFile &Obj) { argument
23 if (Obj.isCOFF())
24 return coff2yaml(outs(), cast<COFFObjectFile>(Obj));
25 if (Obj.isELF())
26 return elf2yaml(outs(), Obj);
42 if (ObjectFile *Obj = dyn_cast<ObjectFile>(&Binary))
43 return dumpObject(*Obj);
H A Dcoff2yaml.cpp21 const object::COFFObjectFile &Obj; member in class:__anon13659::COFFDumper
30 COFFDumper(const object::COFFObjectFile &Obj);
36 COFFDumper::COFFDumper(const object::COFFObjectFile &Obj) : Obj(Obj) { argument
38 Obj.getPE32Header(PE32Header);
43 Obj.getPE32PlusHeader(PE32PlusHeader);
49 dumpSections(Obj.getNumberOfSections());
50 dumpSymbols(Obj.getNumberOfSymbols());
89 if (Obj
277 coff2yaml(raw_ostream &Out, const object::COFFObjectFile &Obj) argument
[all...]
H A Delf2yaml.cpp28 const object::ELFFile<ELFT> &Obj; member in class:__anon13660::ELFDumper
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
426 elf2yaml(raw_ostream &Out, const object::ELFFile<ELFT> &Obj) argument
440 elf2yaml(raw_ostream &Out, const object::ObjectFile &Obj) argument
[all...]
/external/llvm/lib/CodeGen/
H A DSafeStackLayout.cpp47 void StackLayout::layoutObject(StackObject &Obj) { argument
52 unsigned Start = AdjustStackOffset(LastRegionEnd, Obj.Size, Obj.Alignment);
53 unsigned End = Start + Obj.Size;
54 Regions.emplace_back(Start, End, Obj.Range);
55 ObjectOffsets[Obj.Handle] = End;
59 DEBUG(dbgs() << "Layout: size " << Obj.Size << ", align " << Obj.Alignment
60 << ", range " << Obj.Range << "\n");
61 assert(Obj
[all...]
/external/vixl/test/
H A Dtest-invalset.cc40 class Obj { class in namespace:vixl
42 Obj() {} function in class:vixl::Obj
43 Obj(KeyType key, ValType val) : key_(key), val_(val) {} function in class:vixl::Obj
47 bool operator==(const Obj& other) const {
50 bool operator<(const Obj& other) const {
53 bool operator<=(const Obj& other) const {
57 bool operator>(const Obj& other) const {
67 typedef InvalSet<Obj,
75 inline KeyType InvalSet<Obj,
80 kReclaimFactor>::GetKey(const Obj
[all...]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h39 const MachOObjectFile &Obj = variable
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, unsigne argument
147 const MachOObjectFile &Obj = local
210 populateJumpTable(const MachOObjectFile &Obj, const SectionRef &JTSection, unsigned JTSectionID) argument
[all...]
H A DRuntimeDyldMachOX86_64.h39 const MachOObjectFile &Obj = variable
42 Obj.getRelocation(RelI->getRawDataRefImpl());
43 uint32_t RelType = Obj.getAnyRelocationType(RelInfo);
46 return processSubtractRelocation(SectionID, RelI, Obj, ObjSectionToID);
48 assert(!Obj.isRelocationScattered(RelInfo) &&
51 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
54 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID))
59 bool IsExtern = Obj.getPlainRelocationExternal(RelInfo);
124 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, argument
162 const MachOObjectFile &Obj local
[all...]
/external/llvm/lib/IR/
H A DUser.cpp132 User *Obj = reinterpret_cast<User*>(End);
133 Obj->NumUserOperands = Us;
134 Obj->HasHungOffUses = false;
135 Obj->HasDescriptor = DescBytes != 0;
143 return Obj;
158 User *Obj = reinterpret_cast<User *>(HungOffOperandList + 1);
159 Obj->NumUserOperands = 0;
160 Obj->HasHungOffUses = true;
161 Obj->HasDescriptor = false;
163 return Obj;
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h94 /// Obj->Retain()/Obj->Release(). Release() is required to destroy
101 T* Obj; member in class:llvm::IntrusiveRefCntPtr
106 explicit IntrusiveRefCntPtr() : Obj(0) {}
108 explicit IntrusiveRefCntPtr(T* obj) : Obj(obj) {
112 IntrusiveRefCntPtr(const IntrusiveRefCntPtr& S) : Obj(S.Obj) {
118 : Obj(S.getPtr()) {
140 T& operator*() const { return *Obj; }
142 T* operator->() const { return Obj; }
[all...]
/external/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h129 /// Obj->Retain()/Obj->Release(). Release() is required to destroy
136 T* Obj; member in class:llvm::IntrusiveRefCntPtr
141 explicit IntrusiveRefCntPtr() : Obj(nullptr) {}
143 IntrusiveRefCntPtr(T* obj) : Obj(obj) {
147 IntrusiveRefCntPtr(const IntrusiveRefCntPtr& S) : Obj(S.Obj) {
151 IntrusiveRefCntPtr(IntrusiveRefCntPtr&& S) : Obj(S.Obj) {
152 S.Obj
[all...]
/external/clang/test/PCH/
H A Dcaptured-stmt.cpp38 C Obj(10);
39 Obj.bar(x);
/external/compiler-rt/test/ubsan/TestCases/TypeCheck/
H A Dvptr-corrupted-vtable-itanium.cpp25 S Obj; local
26 void *Ptr = &Obj;
34 // Hack Vtable ptr for Obj.
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h127 /// Obj->Retain()/Obj->Release(). Release() is required to destroy
134 T* Obj = nullptr; member in class:llvm::IntrusiveRefCntPtr
141 IntrusiveRefCntPtr(T* obj) : Obj(obj) {
145 IntrusiveRefCntPtr(const IntrusiveRefCntPtr& S) : Obj(S.Obj) {
149 IntrusiveRefCntPtr(IntrusiveRefCntPtr&& S) : Obj(S.Obj) {
150 S.Obj = nullptr;
154 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X>&& S) : Obj(
[all...]
/external/llvm/include/llvm/Object/
H A DMachOUniversal.h111 ObjectForArch Obj; member in class:llvm::object::MachOUniversalBinary::object_iterator
113 object_iterator(const ObjectForArch &Obj) : Obj(Obj) {} argument
114 const ObjectForArch *operator->() const { return &Obj; }
115 const ObjectForArch &operator*() const { return Obj; }
118 return Obj == Other.Obj;
125 Obj = Obj
[all...]
/external/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileJITEventListener.cpp51 void NotifyObjectEmitted(const ObjectFile &Obj,
54 void NotifyFreeingObject(const ObjectFile &Obj) override;
79 const ObjectFile &Obj,
85 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj);
114 DebugObjects[Obj.getData().data()] = std::move(DebugObjOwner);
117 void OProfileJITEventListener::NotifyFreeingObject(const ObjectFile &Obj) { argument
122 if (DebugObjects.find(Obj.getData().data()) == DebugObjects.end())
125 const ObjectFile &DebugObj = *DebugObjects[Obj.getData().data()].getBinary();
147 DebugObjects.erase(Obj.getData().data());
78 NotifyObjectEmitted( const ObjectFile &Obj, const RuntimeDyld::LoadedObjectInfo &L) argument
/external/llvm/tools/llvm-objdump/
H A DELFDump.cpp70 void llvm::printELFFileHeader(const object::ObjectFile *Obj) { argument
72 if (const ELF32LEObjectFile *ELFObj = dyn_cast<ELF32LEObjectFile>(Obj))
76 if (const ELF32BEObjectFile *ELFObj = dyn_cast<ELF32BEObjectFile>(Obj))
80 if (const ELF64LEObjectFile *ELFObj = dyn_cast<ELF64LEObjectFile>(Obj))
84 if (const ELF64BEObjectFile *ELFObj = dyn_cast<ELF64BEObjectFile>(Obj))
H A DCOFFDump.cpp161 resolveSectionAndAddress(const COFFObjectFile *Obj, const SymbolRef &Sym, argument
171 ResolvedSection = Obj->getCOFFSection(**Iter);
196 getSectionContents(const COFFObjectFile *Obj, argument
203 if (std::error_code EC = resolveSectionAndAddress(Obj, Sym, Section, Addr))
205 if (std::error_code EC = Obj->getSectionContents(Section, Contents))
239 printSEHTable(const COFFObjectFile *Obj, uint32_t TableVA, int Count) { argument
244 error(Obj->getPE32Header(PE32Header));
247 error(Obj->getVaPtr(TableVA, IntPtr));
276 static void printTLSDirectory(const COFFObjectFile *Obj) { argument
278 error(Obj
305 printLoadConfiguration(const COFFObjectFile *Obj) argument
349 printImportTables(const COFFObjectFile *Obj) argument
395 printExportTable(const COFFObjectFile *Obj) argument
447 getPDataSection(const COFFObjectFile *Obj, std::vector<RelocationRef> &Rels, const RuntimeFunction *&RFStart, int &NumRFs) argument
517 printRuntimeFunction(const COFFObjectFile *Obj, const RuntimeFunction &RF) argument
540 printRuntimeFunctionRels(const COFFObjectFile *Obj, const RuntimeFunction &RF, uint64_t SectionOffset, const std::vector<RelocationRef> &Rels) argument
584 printCOFFUnwindInfo(const COFFObjectFile *Obj) argument
612 printCOFFFileHeader(const object::ObjectFile *Obj) argument
[all...]
/external/swiftshader/third_party/LLVM/tools/macho-dump/
H A Dmacho-dump.cpp69 static int DumpSectionData(MachOObject &Obj, unsigned Index, StringRef Name, argument
99 Obj.ReadRelocationEntry(RelocationTableOffset, i, RE);
114 StringRef Data = Obj.getData(Offset, Size);
127 static int DumpSegmentCommand(MachOObject &Obj, argument
130 Obj.ReadSegmentLoadCommand(LCI, SLC);
144 Obj.ReadSection(LCI, i, Sect);
150 if ((Res = DumpSectionData(Obj, i, StringRef(Sect->Name, 16),
163 static int DumpSegment64Command(MachOObject &Obj, argument
166 Obj.ReadSegment64LoadCommand(LCI, SLC);
180 Obj
200 DumpSymbolTableEntryData(MachOObject &Obj, unsigned Index, uint32_t StringIndex, uint8_t Type, uint8_t SectionIndex, uint16_t Flags, uint64_t Value) argument
214 DumpSymtabCommand(MachOObject &Obj, const MachOObject::LoadCommandInfo &LCI) argument
265 DumpDysymtabCommand(MachOObject &Obj, const MachOObject::LoadCommandInfo &LCI) argument
313 DumpLinkeditDataCommand(MachOObject &Obj, const MachOObject::LoadCommandInfo &LCI) argument
336 DumpLoadCommand(MachOObject &Obj, unsigned Index) argument
[all...]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp37 getObjectForDebug(const ObjectFile &Obj) const override {
58 const MachOObjectFile &Obj = local
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, TargetSectio
99 const MachOObjectFile &Obj = local
161 getSectionByAddress(const MachOObjectFile &Obj, uint64_t Addr) argument
178 populateIndirectSymbolPointersSection( const MachOObjectFile &Obj, const SectionRef &PTSection, unsigned PTSectionID) argument
226 finalizeLoad(const ObjectFile &Obj, ObjSectionToIDMap &SectionMap) argument
[all...]
/external/llvm/tools/llvm-dwarfdump/fuzzer/
H A Dllvm-dwarfdump-fuzzer.cpp33 ObjectFile &Obj = *ObjOrErr.get(); local
34 std::unique_ptr<DIContext> DICtx(new DWARFContextInMemory(Obj));
/external/llvm/tools/llvm-readobj/
H A DMachODumper.cpp31 MachODumper(const MachOObjectFile *Obj, ScopedPrinter &Writer) argument
32 : ObjDumper(Writer), Obj(Obj) {}
58 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc);
60 void printSections(const MachOObjectFile *Obj);
62 const MachOObjectFile *Obj; member in class:__anon13654::MachODumper
70 std::error_code createMachODumper(const object::ObjectFile *Obj, argument
73 const MachOObjectFile *MachOObj = dyn_cast<MachOObjectFile>(Obj);
304 static void getSection(const MachOObjectFile *Obj, argument
307 if (!Obj
333 getSegment(const MachOObjectFile *Obj, const MachOObjectFile::LoadCommandInfo &L, MachOSegment &Segment) argument
365 getSymbol(const MachOObjectFile *Obj, DataRefImpl DRI, MachOSymbol &Symbol) argument
433 printSections(const MachOObjectFile *Obj) argument
528 printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc) argument
[all...]
H A DELFDumper.cpp100 ELFDumper(const ELFFile<ELFT> *Obj, ScopedPrinter &Writer);
155 if (DRI.Addr < Obj->base() ||
156 (const uint8_t *)DRI.Addr + DRI.Size > Obj->base() + Obj->getBufSize())
162 return checkDRI({Obj->base() + P->p_offset, P->p_filesz, EntSize});
166 return checkDRI({Obj->base() + S->sh_offset, S->sh_size, S->sh_entsize});
180 const ELFO *Obj; member in class:__anon13649::ELFDumper
260 StrTable = unwrapOrError(Obj->getStringTableForSymtab(*DotSymtabSec));
261 Syms = Obj->symbols(DotSymtabSec);
262 SymtabName = unwrapOrError(Obj
384 createELFDumper(const ELFFile<ELFT> *Obj, ScopedPrinter &Writer, std::unique_ptr<ObjDumper> &Result) argument
391 createELFDumper(const object::ObjectFile *Obj, ScopedPrinter &Writer, std::unique_ptr<ObjDumper> &Result) argument
496 printVersionSymbolSection(ELFDumper<ELFT> *Dumper, const ELFO *Obj, const typename ELFO::Elf_Shdr *Sec, ScopedPrinter &W) argument
529 printVersionDefinitionSection(ELFDumper<ELFT> *Dumper, const ELFO *Obj, const typename ELFO::Elf_Shdr *Sec, ScopedPrinter &W) argument
585 printVersionDependencySection(ELFDumper<ELFT> *Dumper, const ELFO *Obj, const typename ELFO::Elf_Shdr *Sec, ScopedPrinter &W) argument
710 getSectionNameIndex(const ELFO &Obj, const typename ELFO::Elf_Sym *Symbol, const typename ELFO::Elf_Sym *FirstSym, ArrayRef<typename ELFO::Elf_Word> ShndxTable, StringRef &SectionName, unsigned &SectionIndex) argument
739 findNotEmptySectionByAddress(const ELFO *Obj, uint64_t Addr) argument
747 findSectionByName(const ELFO &Obj, StringRef Name) argument
1307 ELFDumper(const ELFFile<ELFT> *Obj, ScopedPrinter &Writer) argument
1893 const ELFO *Obj; member in class:__anon13652::MipsGOTParser
1918 MipsGOTParser(ELFDumper<ELFT> *Dumper, const ELFO *Obj, Elf_Dyn_Range DynTable, ScopedPrinter &W) argument
2371 printFileHeaders(const ELFO *Obj) argument
2423 printGroupSections(const ELFO *Obj) argument
2455 printRelocation(const ELFO *Obj, const Elf_Shdr *SymTab, const Elf_Rela &R, bool IsRela) argument
2518 printRelocations(const ELFO *Obj) argument
2633 printSections(const ELFO *Obj) argument
2713 printSymtabMessage(const ELFO *Obj, StringRef Name, size_t Entries) argument
2728 getSymbolSectionNdx(const ELFO *Obj, const Elf_Sym *Symbol, const Elf_Sym *FirstSym) argument
2763 printSymbol(const ELFO *Obj, const Elf_Sym *Symbol, const Elf_Sym *FirstSym, StringRef StrTable, bool IsDynamic) argument
2815 printSymbols(const ELFO *Obj) argument
2821 printDynamicSymbols(const ELFO *Obj) argument
2893 printProgramHeaders(const ELFO *Obj) argument
2963 printDynamicRelocation(const ELFO *Obj, Elf_Rela R, bool IsRela) argument
3009 printDynamicRelocations(const ELFO *Obj) argument
3063 printHashHistogram(const ELFFile<ELFT> *Obj) argument
3163 printFileHeaders(const ELFO *Obj) argument
3208 printGroupSections(const ELFO *Obj) argument
3242 printRelocations(const ELFO *Obj) argument
3265 printRelocations(const Elf_Shdr *Sec, const ELFO *Obj) argument
3286 printRelocation(const ELFO *Obj, Elf_Rela Rel, const Elf_Shdr *SymTab) argument
3316 printSections(const ELFO *Obj) argument
3395 printSymbol(const ELFO *Obj, const Elf_Sym *Symbol, const Elf_Sym *First, StringRef StrTable, bool IsDynamic) argument
3441 printSymbols(const ELFO *Obj) argument
3447 printDynamicSymbols(const ELFO *Obj) argument
3453 printDynamicRelocations(const ELFO *Obj) argument
3488 printDynamicRelocation(const ELFO *Obj, Elf_Rela Rel) argument
3511 printProgramHeaders(const ELFO *Obj) argument
3529 printHashHistogram(const ELFFile<ELFT> *Obj) argument
[all...]

Completed in 1205 milliseconds

1234567