Home
last modified time | relevance | path

Searched refs:Obj (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/openbsd-src/gnu/llvm/llvm/lib/BinaryFormat/
H A DMsgPackReader.cpp29 Expected<bool> Reader::read(Object &Obj) { in read() argument
37 Obj.Kind = Type::Nil; in read()
40 Obj.Kind = Type::Boolean; in read()
41 Obj.Bool = true; in read()
44 Obj.Kind = Type::Boolean; in read()
45 Obj.Bool = false; in read()
48 Obj.Kind = Type::Int; in read()
49 return readInt<int8_t>(Obj); in read()
51 Obj.Kind = Type::Int; in read()
52 return readInt<int16_t>(Obj); in read()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/COFF/
H A DCOFFWriter.cpp28 for (Section &Sec : Obj.getMutableSections()) { in finalizeRelocTargets()
30 const Symbol *Sym = Obj.findSymbol(R.Target); in finalizeRelocTargets()
42 for (Symbol &Sym : Obj.getMutableSymbols()) { in finalizeSymbolContents()
48 const Section *Sec = Obj.findSection(Sym.TargetSectionId); in finalizeSymbolContents()
66 Sec = Obj.findSection(Sym.AssociativeComdatTargetSectionId); in finalizeSymbolContents()
84 const Symbol *Target = Obj.findSymbol(*Sym.WeakTargetSymbolId); in finalizeSymbolContents()
96 for (auto &S : Obj.getMutableSections()) { in layoutSections()
122 for (const auto &S : Obj.getSections()) in finalizeStringTable()
126 for (const auto &S : Obj.getSymbols()) in finalizeStringTable()
132 for (auto &S : Obj.getMutableSections()) { in finalizeStringTable()
[all …]
H A DCOFFReader.cpp26 Error COFFReader::readExecutableHeaders(Object &Obj) const { in readExecutableHeaders()
28 Obj.Is64 = COFFObj.is64(); in readExecutableHeaders()
32 Obj.IsPE = true; in readExecutableHeaders()
33 Obj.DosHeader = *DH; in readExecutableHeaders()
35 Obj.DosStub = ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(&DH[1]), in readExecutableHeaders()
39 Obj.PeHeader = *COFFObj.getPE32PlusHeader(); in readExecutableHeaders()
42 copyPeHeader(Obj.PeHeader, *PE32); in readExecutableHeaders()
44 Obj.BaseOfData = PE32->BaseOfData; in readExecutableHeaders()
47 for (size_t I = 0; I < Obj.PeHeader.NumberOfRvaAndSize; I++) { in readExecutableHeaders()
51 Obj.DataDirectories.emplace_back(*Dir); in readExecutableHeaders()
[all …]
H A DCOFFObjcopy.cpp34 static uint64_t getNextRVA(const Object &Obj) { in getNextRVA() argument
35 if (Obj.getSections().empty()) in getNextRVA()
37 const Section &Last = Obj.getSections().back(); in getNextRVA()
39 Obj.IsPE ? Obj.PeHeader.SectionAlignment : 1); in getNextRVA()
60 static void addSection(Object &Obj, StringRef Name, ArrayRef<uint8_t> Contents, in addSection() argument
69 Sec.Header.VirtualAddress = NeedVA ? getNextRVA(Obj) : 0u; in addSection()
72 Obj.IsPE ? Obj.PeHeader.FileAlignment : 1) in addSection()
81 Obj.addSections(Sec); in addSection()
84 static Error addGnuDebugLink(Object &Obj, StringRef DebugLinkFile) { in addGnuDebugLink() argument
90 addSection(Obj, ".gnu_debuglink", *Contents, in addGnuDebugLink()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/
H A DPdbYaml.cpp104 void MappingTraits<PdbObject>::mapping(IO &IO, PdbObject &Obj) { in mapping() argument
105 IO.mapOptional("MSF", Obj.Headers); in mapping()
106 IO.mapOptional("StreamSizes", Obj.StreamSizes); in mapping()
107 IO.mapOptional("StreamMap", Obj.StreamMap); in mapping()
108 IO.mapOptional("StringTable", Obj.StringTable); in mapping()
109 IO.mapOptional("PdbStream", Obj.PdbStream); in mapping()
110 IO.mapOptional("DbiStream", Obj.DbiStream); in mapping()
111 IO.mapOptional("TpiStream", Obj.TpiStream); in mapping()
112 IO.mapOptional("IpiStream", Obj.IpiStream); in mapping()
113 IO.mapOptional("PublicsStream", Obj.PublicsStream); in mapping()
[all …]
H A DYAMLOutputStyle.cpp41 : File(File), Out(outs()), Obj(File.getAllocator()) { in YAMLOutputStyle()
86 Obj.Headers.emplace(); in dumpFileHeaders()
87 Obj.Headers->SuperBlock.NumBlocks = File.getBlockCount(); in dumpFileHeaders()
88 Obj.Headers->SuperBlock.BlockMapAddr = File.getBlockMapIndex(); in dumpFileHeaders()
89 Obj.Headers->SuperBlock.BlockSize = File.getBlockSize(); in dumpFileHeaders()
91 Obj.Headers->DirectoryBlocks.assign(Blocks.begin(), Blocks.end()); in dumpFileHeaders()
92 Obj.Headers->NumDirectoryBlocks = File.getNumDirectoryBlocks(); in dumpFileHeaders()
93 Obj.Headers->SuperBlock.NumDirectoryBytes = File.getNumDirectoryBytes(); in dumpFileHeaders()
94 Obj.Headers->NumStreams = in dumpFileHeaders()
96 Obj.Headers->SuperBlock.FreeBlockMapBlock = File.getFreeBlockMapBlock(); in dumpFileHeaders()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp62 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred() argument
64 if (&Sec == Obj.SectionNames) in onlyKeepDWOPred()
134 Object &Obj, raw_ostream &Out, in createELFWriter() argument
139 return std::make_unique<ELFWriter<ELF32LE>>(Obj, Out, !Config.StripSections, in createELFWriter()
142 return std::make_unique<ELFWriter<ELF64LE>>(Obj, Out, !Config.StripSections, in createELFWriter()
145 return std::make_unique<ELFWriter<ELF32BE>>(Obj, Out, !Config.StripSections, in createELFWriter()
148 return std::make_unique<ELFWriter<ELF64BE>>(Obj, Out, !Config.StripSections, in createELFWriter()
155 Object &Obj, raw_ostream &Out, in createWriter() argument
159 return std::make_unique<BinaryWriter>(Obj, Out); in createWriter()
161 return std::make_unique<IHexWriter>(Obj, Out); in createWriter()
[all …]
H A DELFObject.cpp39 Obj.ProgramHdrSegment.Offset + Seg.Index * sizeof(Elf_Phdr); in writePhdr()
1226 Obj->Flags = 0x0; in initFileHeader()
1227 Obj->Type = ET_REL; in initFileHeader()
1228 Obj->OSABI = ELFOSABI_NONE; in initFileHeader()
1229 Obj->ABIVersion = 0; in initFileHeader()
1230 Obj->Entry = 0x0; in initFileHeader()
1231 Obj->Machine = EM_NONE; in initFileHeader()
1232 Obj->Version = 1; in initFileHeader()
1235 void BasicELFBuilder::initHeaderSegment() { Obj->ElfHdrSegment.Index = 0; } in initHeaderSegment()
1238 auto &StrTab = Obj->addSection<StringTableSection>(); in addStrTab()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DSafeStackLayout.cpp51 void StackLayout::layoutObject(StackObject &Obj) { in layoutObject() argument
56 unsigned Start = AdjustStackOffset(LastRegionEnd, Obj.Size, Obj.Alignment); in layoutObject()
57 unsigned End = Start + Obj.Size; in layoutObject()
58 Regions.emplace_back(Start, End, Obj.Range); in layoutObject()
59 ObjectOffsets[Obj.Handle] = End; in layoutObject()
63 LLVM_DEBUG(dbgs() << "Layout: size " << Obj.Size << ", align " in layoutObject()
64 << Obj.Alignment.value() << ", range " << Obj.Range in layoutObject()
66 assert(Obj.Alignment <= MaxAlignment); in layoutObject()
67 unsigned Start = AdjustStackOffset(0, Obj.Size, Obj.Alignment); in layoutObject()
68 unsigned End = Start + Obj.Size; in layoutObject()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/XCOFF/
H A DXCOFFWriter.cpp22 FileSize += Obj.FileHeader.AuxHeaderSize; in finalizeHeaders()
24 FileSize += sizeof(XCOFFSectionHeader32) * Obj.Sections.size(); in finalizeHeaders()
28 for (const Section &Sec : Obj.Sections) { in finalizeSections()
38 assert(Obj.FileHeader.SymbolTableOffset >= FileSize); in finalizeSymbolStringTable()
39 FileSize = Obj.FileHeader.SymbolTableOffset; in finalizeSymbolStringTable()
42 Obj.FileHeader.NumberOfSymTableEntries * XCOFF::SymbolTableEntrySize; in finalizeSymbolStringTable()
44 FileSize += Obj.StringTable.size(); in finalizeSymbolStringTable()
57 memcpy(Ptr, &Obj.FileHeader, sizeof(XCOFFFileHeader32)); in writeHeaders()
61 if (Obj.FileHeader.AuxHeaderSize) { in writeHeaders()
62 memcpy(Ptr, &Obj.OptionalFileHeader, Obj.FileHeader.AuxHeaderSize); in writeHeaders()
[all …]
H A DXCOFFReader.cpp17 Error XCOFFReader::readSections(Object &Obj) const { in readSections()
45 Obj.Sections.push_back(std::move(ReadSec)); in readSections()
50 Error XCOFFReader::readSymbols(Object &Obj) const { in readSymbols()
70 Obj.Symbols.push_back(std::move(ReadSym)); in readSymbols()
76 auto Obj = std::make_unique<Object>(); in create() local
82 Obj->FileHeader = *XCOFFObj.fileHeader32(); in create()
85 Obj->OptionalFileHeader = *XCOFFObj.auxiliaryHeader32(); in create()
87 Obj->Sections.reserve(XCOFFObj.getNumberOfSections()); in create()
88 if (Error E = readSections(*Obj)) in create()
91 Obj->Symbols.reserve(XCOFFObj.getRawNumberOfSymbolTableEntries32()); in create()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Dxcoff2yaml.cpp20 const object::XCOFFObjectFile &Obj; member in __anon5d8938cb0111::XCOFFDumper
29 XCOFFDumper(const object::XCOFFObjectFile &obj) : Obj(obj) {} in XCOFFDumper()
43 YAMLObj.Header.Magic = Obj.getMagic(); in dumpHeader()
44 YAMLObj.Header.NumberOfSections = Obj.getNumberOfSections(); in dumpHeader()
45 YAMLObj.Header.TimeStamp = Obj.getTimeStamp(); in dumpHeader()
46 YAMLObj.Header.SymbolTableOffset = Obj.is64Bit() in dumpHeader()
47 ? Obj.getSymbolTableOffset64() in dumpHeader()
48 : Obj.getSymbolTableOffset32(); in dumpHeader()
50 Obj.is64Bit() ? Obj.getNumberOfSymbolTableEntries64() in dumpHeader()
51 : Obj.getRawNumberOfSymbolTableEntries32(); in dumpHeader()
[all …]
H A Dcoff2yaml.cpp25 const object::COFFObjectFile &Obj; member in __anon9e7069730111::COFFDumper
34 COFFDumper(const object::COFFObjectFile &Obj);
40 COFFDumper::COFFDumper(const object::COFFObjectFile &Obj) : Obj(Obj) { in COFFDumper() argument
41 if (const object::pe32_header *PE32Header = Obj.getPE32Header()) in COFFDumper()
44 Obj.getPE32PlusHeader()) in COFFDumper()
48 dumpSections(Obj.getNumberOfSections()); in COFFDumper()
49 dumpSymbols(Obj.getNumberOfSymbols()); in COFFDumper()
87 const object::data_directory *DD = Obj.getDataDirectory(I++); in dumpOptionalHeader()
97 YAMLObj.Header.Machine = Obj.getMachine(); in dumpHeader()
98 YAMLObj.Header.Characteristics = Obj.getCharacteristics(); in dumpHeader()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DMachODumper.cpp30 MachODumper(const MachOObjectFile *Obj, ScopedPrinter &Writer) in MachODumper() argument
31 : ObjDumper(Writer, Obj->getFileName()), Obj(Obj) {} in MachODumper()
71 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc);
73 void printSectionHeaders(const MachOObjectFile *Obj);
75 const MachOObjectFile *Obj; member in __anone611c9240111::MachODumper
83 std::unique_ptr<ObjDumper> createMachODumper(const object::MachOObjectFile &Obj, in createMachODumper() argument
85 return std::make_unique<MachODumper>(&Obj, Writer); in createMachODumper()
341 static void getSection(const MachOObjectFile *Obj, in getSection() argument
344 if (!Obj->is64Bit()) { in getSection()
345 MachO::section Sect = Obj->getSection(Sec); in getSection()
[all …]
H A DCOFFDumper.cpp82 COFFDumper(const llvm::object::COFFObjectFile *Obj, ScopedPrinter &Writer) in COFFDumper() argument
83 : ObjDumper(Writer, Obj->getFileName()), Obj(Obj), Writer(Writer), in COFFDumper()
183 const llvm::object::COFFObjectFile *Obj; member in __anon0e2a7d3a0111::COFFDumper
202 const COFFObjectFile *Obj, StringRef SectionContents) in COFFObjectDumpDelegate() argument
204 Sec = Obj->getCOFFSection(SR); in COFFObjectDumpDelegate()
248 std::unique_ptr<ObjDumper> createCOFFDumper(const object::COFFObjectFile &Obj, in createCOFFDumper() argument
250 return std::make_unique<COFFDumper>(&Obj, Writer); in createCOFFDumper()
261 auto SymI = Obj->symbol_end(); in resolveSymbol()
270 if (SymI == Obj->symbol_end()) in resolveSymbol()
331 const coff_section *Section = Obj->getCOFFSection(Sec); in printBinaryBlockWithRelocs()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h37 const MachOObjectFile &Obj = in processRelocationRef() local
40 Obj.getRelocation(RelI->getRawDataRefImpl()); in processRelocationRef()
41 uint32_t RelType = Obj.getAnyRelocationType(RelInfo); in processRelocationRef()
43 if (Obj.isRelocationScattered(RelInfo)) { in processRelocationRef()
46 return processSECTDIFFRelocation(SectionID, RelI, Obj, in processRelocationRef()
49 return processScatteredVANILLA(SectionID, RelI, Obj, ObjSectionToID); in processRelocationRef()
66 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
69 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) in processRelocationRef()
127 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
136 return populateJumpTable(cast<MachOObjectFile>(Obj), Section, SectionID); in finalizeSection()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/
H A DELFDump.cpp56 static Error getRelocationValueString(const ELFObjectFile<ELFT> *Obj, in getRelocationValueString() argument
59 const ELFFile<ELFT> &EF = Obj->getELFFile(); in getRelocationValueString()
74 const typename ELFT::Rela *ERela = Obj->getRela(Rel); in getRelocationValueString()
78 const typename ELFT::Rel *ERel = Obj->getRel(Rel); in getRelocationValueString()
92 Obj->getSymbol(SI->getRawDataRefImpl()); in getRelocationValueString()
102 Obj->getSection((*SymSI)->getRawDataRefImpl()); in getRelocationValueString()
130 Error objdump::getELFRelocationValueString(const ELFObjectFileBase *Obj, in getELFRelocationValueString() argument
133 if (auto *ELF32LE = dyn_cast<ELF32LEObjectFile>(Obj)) in getELFRelocationValueString()
135 if (auto *ELF64LE = dyn_cast<ELF64LEObjectFile>(Obj)) in getELFRelocationValueString()
137 if (auto *ELF32BE = dyn_cast<ELF32BEObjectFile>(Obj)) in getELFRelocationValueString()
[all …]
H A DCOFFDump.cpp42 explicit COFFDumper(const llvm::object::COFFObjectFile &Obj) : Obj(Obj) { in COFFDumper() argument
43 Is64 = !Obj.getPE32Header(); in COFFDumper()
57 const llvm::object::COFFObjectFile &Obj; member in __anon009d195d0111::COFFDumper
178 if (const data_directory *Data = Obj.getDataDirectory(I)) { in printPEHeader()
318 static Error resolveSectionAndAddress(const COFFObjectFile *Obj, in resolveSectionAndAddress() argument
329 ResolvedSection = Obj->getCOFFSection(**Iter); in resolveSectionAndAddress()
352 getSectionContents(const COFFObjectFile *Obj, in getSectionContents() argument
359 if (Error E = resolveSectionAndAddress(Obj, Sym, Section, Addr)) in getSectionContents()
361 return Obj->getSectionContents(Section, Contents); in getSectionContents()
393 printSEHTable(const COFFObjectFile *Obj, uint32_t TableVA, int Count) { in printSEHTable() argument
[all …]
H A Dllvm-objdump.cpp369 static const Target *getTarget(const ObjectFile *Obj) { in getTarget() argument
373 TheTriple = Obj->makeTriple(); in getTarget()
376 auto Arch = Obj->getArch(); in getTarget()
378 Obj->setARMSubArch(TheTriple); in getTarget()
386 reportError(Obj->getFileName(), "can't find target: " + Error); in getTarget()
399 const ObjectFile *Obj = Rel.getObject(); in getRelocationValueString() local
400 if (auto *ELF = dyn_cast<ELFObjectFileBase>(Obj)) in getRelocationValueString()
402 if (auto *COFF = dyn_cast<COFFObjectFile>(Obj)) in getRelocationValueString()
404 if (auto *Wasm = dyn_cast<WasmObjectFile>(Obj)) in getRelocationValueString()
406 if (auto *MachO = dyn_cast<MachOObjectFile>(Obj)) in getRelocationValueString()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DCOFFEmitter.cpp38 COFFParser(COFFYAML::Object &Obj, yaml::ErrorHandler EH) in COFFParser()
39 : Obj(Obj), SectionTableStart(0), SectionTableSize(0), ErrHandler(EH) { in COFFParser()
46 return static_cast<int32_t>(Obj.Sections.size()) > in useBigObj()
50 bool isPE() const { return Obj.OptionalHeader.has_value(); } in isPE()
52 return Obj.Header.Machine == COFF::IMAGE_FILE_MACHINE_AMD64 || in is64Bit()
53 Obj.Header.Machine == COFF::IMAGE_FILE_MACHINE_ARM64 || in is64Bit()
54 Obj.Header.Machine == COFF::IMAGE_FILE_MACHINE_ARM64EC; in is64Bit()
58 return Obj.OptionalHeader->Header.FileAlignment; in getFileAlignment()
70 for (COFFYAML::Section &Sec : Obj.Sections) { in parseSections()
105 for (COFFYAML::Symbol &Sym : Obj.Symbols) { in parseSymbols()
[all …]
H A DXCOFFEmitter.cpp35 XCOFFWriter(XCOFFYAML::Object &Obj, raw_ostream &OS, yaml::ErrorHandler EH) in XCOFFWriter() argument
36 : Obj(Obj), W(OS, support::big), ErrHandler(EH), in XCOFFWriter()
38 Is64Bit = Obj.Header.Magic == (llvm::yaml::Hex16)XCOFF::XCOFF64; in XCOFFWriter()
68 XCOFFYAML::Object &Obj; member in __anon861d44700111::XCOFFWriter
79 XCOFFYAML::FileHeader InitFileHdr = Obj.Header;
81 std::vector<XCOFFYAML::Section> InitSections = Obj.Sections;
160 if (Obj.StrTbl.RawContent) { in initStringTable()
161 size_t RawSize = Obj.StrTbl.RawContent->binary_size(); in initStringTable()
162 if (Obj.StrTbl.Strings || Obj.StrTbl.Length) { in initStringTable()
167 if (Obj.StrTbl.ContentSize && *Obj.StrTbl.ContentSize < RawSize) { in initStringTable()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DObjectFileInterface.cpp42 const object::MachOObjectFile &Obj) { in getMachOObjectFileSymbolInfo() argument
45 for (auto &Sym : Obj.symbols()) { in getMachOObjectFileSymbolInfo()
80 for (auto &Sec : Obj.sections()) { in getMachOObjectFileSymbolInfo()
81 auto SecType = Obj.getSectionType(Sec); in getMachOObjectFileSymbolInfo()
83 addInitSymbol(I, ES, Obj.getFileName()); in getMachOObjectFileSymbolInfo()
86 auto SegName = Obj.getSectionFinalSegmentName(Sec.getRawDataRefImpl()); in getMachOObjectFileSymbolInfo()
87 auto SecName = cantFail(Obj.getSectionName(Sec.getRawDataRefImpl())); in getMachOObjectFileSymbolInfo()
89 addInitSymbol(I, ES, Obj.getFileName()); in getMachOObjectFileSymbolInfo()
99 const object::ELFObjectFileBase &Obj) { in getELFObjectFileSymbolInfo() argument
102 for (auto &Sym : Obj.symbols()) { in getELFObjectFileSymbolInfo()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h169 T *Obj = nullptr; variable
175 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr()
176 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr()
177 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr()
181 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> S) : Obj(S.get()) { in IntrusiveRefCntPtr()
182 S.Obj = nullptr; in IntrusiveRefCntPtr()
187 IntrusiveRefCntPtr(std::unique_ptr<X> S) : Obj(S.release()) { in IntrusiveRefCntPtr()
198 T &operator*() const { return *Obj; }
199 T *operator->() const { return Obj; }
200 T *get() const { return Obj; } in get()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DUser.cpp138 User *Obj = reinterpret_cast<User*>(End); in allocateFixedOperandUser() local
139 Obj->NumUserOperands = Us; in allocateFixedOperandUser()
140 Obj->HasHungOffUses = false; in allocateFixedOperandUser()
141 Obj->HasDescriptor = DescBytes != 0; in allocateFixedOperandUser()
143 new (Start) Use(Obj); in allocateFixedOperandUser()
150 return Obj; in allocateFixedOperandUser()
165 User *Obj = reinterpret_cast<User *>(HungOffOperandList + 1); in operator new() local
166 Obj->NumUserOperands = 0; in operator new()
167 Obj->HasHungOffUses = true; in operator new()
168 Obj->HasDescriptor = false; in operator new()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp37 getObjectForDebug(const ObjectFile &Obj) const override { in getObjectForDebug()
59 const MachOObjectFile &Obj = in processScatteredVANILLA() local
62 Obj.getRelocation(RelI->getRawDataRefImpl()); in processScatteredVANILLA()
65 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA()
66 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processScatteredVANILLA()
67 unsigned Size = Obj.getAnyRelocationLength(RE); in processScatteredVANILLA()
73 unsigned SymbolBaseAddr = Obj.getScatteredRelocationValue(RE); in processScatteredVANILLA()
74 section_iterator TargetSI = getSectionByAddress(Obj, SymbolBaseAddr); in processScatteredVANILLA()
75 assert(TargetSI != Obj.section_end() && "Can't find section for symbol"); in processScatteredVANILLA()
81 findOrEmitSection(Obj, TargetSection, IsCode, ObjSectionToID)) in processScatteredVANILLA()
[all …]

12345678910>>...12