Lines Matching refs:mbref
169 MemoryBufferRef mbref = *mb; in takeBuffer() local
173 ctx.driver.tar->append(relativeToRoot(mbref.getBufferIdentifier()), in takeBuffer()
174 mbref.getBuffer()); in takeBuffer()
175 return mbref; in takeBuffer()
182 MemoryBufferRef mbref = takeBuffer(std::move(mb)); in addBuffer() local
186 switch (identify_magic(mbref.getBuffer())) { in addBuffer()
188 resources.push_back(mbref); in addBuffer()
193 CHECK(Archive::create(mbref), filename + ": failed to parse archive"); in addBuffer()
202 ctx.symtab.addFile(make<ArchiveFile>(ctx, mbref)); in addBuffer()
205 ctx.symtab.addFile(make<BitcodeFile>(ctx, mbref, "", 0, lazy)); in addBuffer()
209 ctx.symtab.addFile(make<ObjFile>(ctx, mbref, lazy)); in addBuffer()
212 ctx.symtab.addFile(make<PDBInputFile>(ctx, mbref)); in addBuffer()
219 ctx.symtab.addFile(make<DLLFile>(ctx, mbref)); in addBuffer()
229 error(mbref.getBufferIdentifier() + ": unknown file type"); in addBuffer()