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