Lines Matching defs:std

50 static cl::list<std::string> InputFiles(cl::Positional, cl::ZeroOrMore,
54 static cl::list<std::string> ExecFilenames(
59 static cl::opt<std::string> OutputFilename(cl::Required, "o",
202 std::string Name;
203 std::string DWOName;
225 auto P = TypeIndexEntries.insert(std::make_pair(E.getSignature(), TUEntry));
249 const std::vector<StringRef> &TypesSections,
271 auto P = TypeIndexEntries.insert(std::make_pair(Signature, Entry));
303 std::vector<unsigned> Buckets(NextPowerOf2(3 * IndexEntries.size() / 2));
347 std::string buildDWODescription(StringRef Name, StringRef DWPName, StringRef DWOName) {
348 std::string Text = "\'";
368 llvm::toString(std::move(E)))
373 handleCompressedSection(std::deque<SmallString<32>> &UncompressedSections,
385 return createError(Name, std::move(E));
393 const StringMap<std::pair<MCSection *, DWARFSectionKind>> &KnownSections,
397 std::deque<SmallString<32>> &UncompressedSections,
400 std::vector<StringRef> &CurTypesSection, StringRef &InfoSection,
467 buildDuplicateError(const std::pair<uint64_t, UnitIndexEntry> &PrevE,
470 std::string("Duplicate DWO ID (") + utohexstr(PrevE.first) + ") in " +
476 static Expected<SmallVector<std::string, 16>>
483 std::unique_ptr<DWARFContext> DWARFCtx = DWARFContext::create(Obj);
485 SmallVector<std::string, 16> DWOPaths;
488 std::string DWOName = dwarf::toString(
492 std::string DWOCompDir =
499 DWOPaths.push_back(std::move(DWOName));
502 return std::move(DWOPaths);
505 static Error write(MCStreamer &Out, ArrayRef<std::string> Inputs) {
512 const StringMap<std::pair<MCSection *, DWARFSectionKind>> KnownSections = {
533 std::deque<SmallString<32>> UncompressedSections;
541 Objects.push_back(std::move(*ErrOrObj));
547 std::vector<StringRef> CurTypesSection;
574 auto P = IndexEntries.insert(std::make_pair(ID.Signature, CurEntry));
593 auto P = IndexEntries.insert(std::make_pair(E.getSignature(), CurEntry));
662 std::string ErrorStr;
672 std::string TripleName = TheTriple.getTriple();
675 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName));
680 std::unique_ptr<MCAsmInfo> MAI(
689 std::unique_ptr<MCSubtargetInfo> MSTI(
699 std::unique_ptr<MCInstrInfo> MII(TheTarget->createMCInstrInfo());
708 std::error_code EC;
721 std::unique_ptr<MCStreamer> MS(TheTarget->createMCObjectStreamer(
722 TheTriple, MC, std::unique_ptr<MCAsmBackend>(MAB),
723 MAB->createObjectWriter(*OS), std::unique_ptr<MCCodeEmitter>(MCE), *MSTI,
729 std::vector<std::string> DWOFilenames = InputFiles;
737 std::make_move_iterator(DWOs->begin()),
738 std::make_move_iterator(DWOs->end()));
742 logAllUnhandledErrors(std::move(Err), WithColor::error());