Lines Matching refs:Obj
43 const object::MachOObjectFile &Obj) {
46 for (auto &Sym : Obj.symbols()) {
81 for (auto &Sec : Obj.sections()) {
82 auto SecType = Obj.getSectionType(Sec);
84 addInitSymbol(I, ES, Obj.getFileName());
87 auto SegName = Obj.getSectionFinalSegmentName(Sec.getRawDataRefImpl());
88 auto SecName = cantFail(Obj.getSectionName(Sec.getRawDataRefImpl()));
90 addInitSymbol(I, ES, Obj.getFileName());
100 const object::ELFObjectFileBase &Obj) {
103 for (auto &Sym : Obj.symbols()) {
140 for (auto &Sec : Obj.sections()) {
143 addInitSymbol(I, ES, Obj.getFileName());
154 const object::COFFObjectFile &Obj) {
157 Obj.getNumberOfSections() + 1);
158 for (auto &Sym : Obj.symbols()) {
165 auto COFFSym = Obj.getCOFFSymbol(Sym);
168 auto Sec = Obj.getSection(COFFSym.getSectionNumber());
221 for (auto &Sec : Obj.sections()) {
224 addInitSymbol(I, ES, Obj.getFileName());
236 const object::ObjectFile &Obj) {
239 for (auto &Sym : Obj.symbols()) {
276 auto Obj = object::ObjectFile::createObjectFile(ObjBuffer);
278 if (!Obj)
279 return Obj.takeError();
281 if (auto *MachOObj = dyn_cast<object::MachOObjectFile>(Obj->get()))
283 else if (auto *ELFObj = dyn_cast<object::ELFObjectFileBase>(Obj->get()))
285 else if (auto *COFFObj = dyn_cast<object::COFFObjectFile>(Obj->get()))
288 return getGenericObjectFileSymbolInfo(ES, **Obj);