Lines Matching defs:Result

403   auto Result = std::make_shared<DebugChecksumsSubsection>(*SC.strings());
405 Result->addChecksum(CS.FileName, CS.Kind, CS.ChecksumBytes.Bytes);
407 return Result;
414 auto Result =
416 Result->setCodeSize(Lines.CodeSize);
417 Result->setRelocationAddress(Lines.RelocSegment, Lines.RelocOffset);
418 Result->setFlags(Lines.Flags);
420 Result->createBlock(LC.FileName);
421 if (Result->hasColumnInfo()) {
426 Result->addLineAndColumnInfo(L.Offset,
433 Result->addLineInfo(L.Offset, LineInfo(L.LineStart, LE, L.IsStatement));
437 return Result;
445 auto Result = std::make_shared<DebugInlineeLinesSubsection>(
449 Result->addInlineSite(TypeIndex(Site.Inlinee), Site.FileName,
455 Result->addExtraFile(EF);
458 return Result;
465 auto Result = std::make_shared<DebugCrossModuleExportsSubsection>();
467 Result->addMapping(M.Local, M.Global);
468 return Result;
477 auto Result =
481 Result->addImport(M.ModuleName, Id);
483 return Result;
489 auto Result = std::make_shared<DebugSymbolsSubsection>();
491 Result->addSymbol(
493 return Result;
500 auto Result = std::make_shared<DebugStringTableSubsection>();
502 Result->insert(Str);
503 return Result;
511 auto Result = std::make_shared<DebugFrameDataSubsection>(true);
523 Result->addFrameData(F);
525 return Result;
532 auto Result = std::make_shared<DebugSymbolRVASubsection>();
534 Result->addRVA(RVA);
535 return Result;
545 SourceFileChecksumEntry Result;
546 Result.ChecksumBytes.Bytes = CS.Checksum;
547 Result.Kind = CS.Kind;
548 Result.FileName = *ExpectedString;
549 return Result;
566 auto Result = std::make_shared<YAMLChecksumsSubsection>();
572 Result->Checksums.push_back(*ConvertedCS);
574 return Result;
582 auto Result = std::make_shared<YAMLLinesSubsection>();
583 Result->Lines.CodeSize = Lines.header()->CodeSize;
584 Result->Lines.RelocOffset = Lines.header()->RelocOffset;
585 Result->Lines.RelocSegment = Lines.header()->RelocSegment;
586 Result->Lines.Flags = static_cast<LineFlags>(uint16_t(Lines.header()->Flags));
610 Result->Lines.Blocks.push_back(Block);
612 return Result;
620 auto Result = std::make_shared<YAMLInlineeLinesSubsection>();
622 Result->InlineeLines.HasExtraFiles = Lines.hasExtraFiles();
639 Result->InlineeLines.Sites.push_back(Site);
641 return Result;
647 auto Result = std::make_shared<YAMLCrossModuleExportsSubsection>();
648 Result->Exports.assign(Exports.begin(), Exports.end());
649 return Result;
656 auto Result = std::make_shared<YAMLCrossModuleImportsSubsection>();
664 Result->Imports.push_back(YCMI);
666 return Result;
672 auto Result = std::make_shared<YAMLSymbolsSubsection>();
682 Result->Symbols.push_back(*S);
684 return Result;
690 auto Result = std::make_shared<YAMLStringTableSubsection>();
700 Result->Strings.push_back(S);
702 return Result;
709 auto Result = std::make_shared<YAMLFrameDataSubsection>();
729 Result->Frames.push_back(YF);
731 return Result;
737 auto Result = std::make_shared<YAMLCoffSymbolRVASubsection>();
739 Result->RVAs.push_back(RVA);
741 return Result;
748 std::vector<std::shared_ptr<DebugSubsection>> Result;
750 return std::move(Result);
756 Result.push_back(std::move(CVS));
758 return std::move(Result);
798 auto Result = YAMLLinesSubsection::fromCodeViewSubsection(
800 if (!Result)
801 return Result.takeError();
802 Subsection.Subsection = *Result;
809 auto Result = YAMLChecksumsSubsection::fromCodeViewSubsection(State.strings(),
811 if (!Result)
812 return Result.takeError();
813 Subsection.Subsection = *Result;
820 auto Result = YAMLInlineeLinesSubsection::fromCodeViewSubsection(
822 if (!Result)
823 return Result.takeError();
824 Subsection.Subsection = *Result;
831 auto Result =
833 if (!Result)
834 return Result.takeError();
835 Subsection.Subsection = *Result;
842 auto Result = YAMLCrossModuleImportsSubsection::fromCodeViewSubsection(
844 if (!Result)
845 return Result.takeError();
846 Subsection.Subsection = *Result;
853 auto Result = YAMLStringTableSubsection::fromCodeViewSubsection(Strings);
854 if (!Result)
855 return Result.takeError();
856 Subsection.Subsection = *Result;
862 auto Result = YAMLSymbolsSubsection::fromCodeViewSubsection(Symbols);
863 if (!Result)
864 return Result.takeError();
865 Subsection.Subsection = *Result;
871 auto Result =
873 if (!Result)
874 return Result.takeError();
875 Subsection.Subsection = *Result;
881 auto Result = YAMLCoffSymbolRVASubsection::fromCodeViewSubsection(RVAs);
882 if (!Result)
883 return Result.takeError();
884 Subsection.Subsection = *Result;
911 std::vector<YAMLDebugSubsection> Result;
915 Result.push_back(YamlSS);
917 return Result;
937 auto Result = SS.Subsection->toCodeViewSubsection(Allocator, SC);
939 std::static_pointer_cast<DebugStringTableSubsection>(Result));
949 auto Result = SS.Subsection->toCodeViewSubsection(Allocator, SC);
951 std::static_pointer_cast<DebugChecksumsSubsection>(Result));