Lines Matching defs:Obj
39 const object::MachOObjectFile &Obj) {
42 for (auto &Sym : Obj.symbols()) {
77 for (auto &Sec : Obj.sections()) {
78 auto SecType = Obj.getSectionType(Sec);
80 addInitSymbol(I, ES, Obj.getFileName());
83 auto SegName = Obj.getSectionFinalSegmentName(Sec.getRawDataRefImpl());
84 auto SecName = cantFail(Obj.getSectionName(Sec.getRawDataRefImpl()));
86 addInitSymbol(I, ES, Obj.getFileName());
96 const object::ELFObjectFileBase &Obj) {
99 for (auto &Sym : Obj.symbols()) {
136 for (auto &Sec : Obj.sections()) {
139 addInitSymbol(I, ES, Obj.getFileName());
150 const object::COFFObjectFile &Obj) {
153 Obj.getNumberOfSections() + 1);
154 for (auto &Sym : Obj.symbols()) {
161 auto COFFSym = Obj.getCOFFSymbol(Sym);
164 auto Sec = Obj.getSection(COFFSym.getSectionNumber());
217 for (auto &Sec : Obj.sections()) {
220 addInitSymbol(I, ES, Obj.getFileName());
232 const object::ObjectFile &Obj) {
235 for (auto &Sym : Obj.symbols()) {
272 auto Obj = object::ObjectFile::createObjectFile(ObjBuffer);
274 if (!Obj)
275 return Obj.takeError();
277 if (auto *MachOObj = dyn_cast<object::MachOObjectFile>(Obj->get()))
279 else if (auto *ELFObj = dyn_cast<object::ELFObjectFileBase>(Obj->get()))
281 else if (auto *COFFObj = dyn_cast<object::COFFObjectFile>(Obj->get()))
284 return getGenericObjectFileSymbolInfo(ES, **Obj);