Lines Matching refs:mbr

271     ArchiveMember* mbr = parseMemberHeader(At, End, error);  in loadArchive()  local
272 if (!mbr) in loadArchive()
276 if (mbr->isSVR4SymbolTable() || mbr->isBSD4SymbolTable()) { in loadArchive()
284 foreignST = mbr; in loadArchive()
285 At += mbr->getSize(); in loadArchive()
288 } else if (mbr->isStringTable()) { in loadArchive()
293 strtab.assign(At, mbr->getSize()); in loadArchive()
294 At += mbr->getSize(); in loadArchive()
297 delete mbr; in loadArchive()
298 } else if (mbr->isLLVMSymbolTable()) { in loadArchive()
306 if (!parseSymbolTable(mbr->getData(), mbr->getSize(), error)) in loadArchive()
309 At += mbr->getSize(); in loadArchive()
312 delete mbr; // We don't need this member in the list of members. in loadArchive()
320 members.push_back(mbr); in loadArchive()
321 At += mbr->getSize(); in loadArchive()
383 ArchiveMember* mbr = parseMemberHeader(At, End, ErrorMsg); in loadSymbolTable() local
384 if (!mbr) in loadSymbolTable()
387 if (mbr->isSVR4SymbolTable() || mbr->isBSD4SymbolTable()) { in loadSymbolTable()
389 At += mbr->getSize(); in loadSymbolTable()
392 delete mbr; in loadSymbolTable()
396 mbr = parseMemberHeader(At, End, ErrorMsg); in loadSymbolTable()
397 if (!mbr) { in loadSymbolTable()
398 delete mbr; in loadSymbolTable()
403 if (mbr->isStringTable()) { in loadSymbolTable()
405 strtab.assign((const char*)mbr->getData(), mbr->getSize()); in loadSymbolTable()
406 At += mbr->getSize(); in loadSymbolTable()
409 delete mbr; in loadSymbolTable()
412 mbr = parseMemberHeader(At, End, ErrorMsg); in loadSymbolTable()
413 if (!mbr) { in loadSymbolTable()
414 delete mbr; in loadSymbolTable()
420 if (mbr->isLLVMSymbolTable()) { in loadSymbolTable()
421 if (!parseSymbolTable(mbr->getData(), mbr->getSize(), ErrorMsg)) { in loadSymbolTable()
422 delete mbr; in loadSymbolTable()
426 At += mbr->getSize(); in loadSymbolTable()
429 delete mbr; in loadSymbolTable()
437 members.push_back(mbr); in loadSymbolTable()
482 ArchiveMember* mbr = parseMemberHeader(modptr, mapfile->getBufferEnd(), in findModuleDefiningSymbol() local
484 if (!mbr) in findModuleDefiningSymbol()
489 mbr->getPath().str() + ")"; in findModuleDefiningSymbol()
491 MemoryBuffer::getMemBufferCopy(StringRef(mbr->getData(), mbr->getSize()), in findModuleDefiningSymbol()
498 modules.insert(std::make_pair(fileOffset, std::make_pair(m, mbr))); in findModuleDefiningSymbol()
530 ArchiveMember* mbr = parseMemberHeader(At, End, error); in findModulesDefiningSymbols() local
531 if (!mbr) in findModulesDefiningSymbols()
535 if (mbr->isBitcode()) { in findModulesDefiningSymbols()
539 mbr->getPath().str() + ")"; in findModulesDefiningSymbols()
541 GetBitcodeSymbols(At, mbr->getSize(), FullMemberName, Context, in findModulesDefiningSymbols()
552 modules.insert(std::make_pair(offset, std::make_pair(M, mbr))); in findModulesDefiningSymbols()
556 mbr->getPath().str() + ": " + *error; in findModulesDefiningSymbols()
557 delete mbr; in findModulesDefiningSymbols()
563 At += mbr->getSize(); in findModulesDefiningSymbols()