/llvm-project/llvm/utils/docker/scripts/llvm_checksum/ |
H A D | llvm_checksum.py | 2 """ A small program to compute checksums of LLVM checkout. 27 help="read checksums from reference_file and " 28 + "check they match checksums of llvm_path.", 56 checksums = ComputeLLVMChecksums(args.llvm_path, llvm_projects) 59 WriteLLVMChecksums(checksums, sys.stdout) 62 if not ValidateChecksums(reference_checksums, checksums, args.partial): 63 sys.stdout.write("Checksums differ.\nNew checksums:\n") 64 WriteLLVMChecksums(checksums, sys.stdout) 65 sys.stdout.write("Reference checksums:\n") 69 sys.stdout.write("Checksums match.") [all …]
|
/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | StringsAndChecksums.h | 28 // If only a string table subsection is given, we find a checksums subsection. 33 const DebugChecksumsSubsectionRef &Checksums); 44 if (Strings && Checksums) in initialize() 67 const DebugChecksumsSubsectionRef &checksums() const { return *Checksums; } in checksums() function 70 bool hasChecksums() const { return Checksums != nullptr; } in hasChecksums() 80 const DebugChecksumsSubsectionRef *Checksums = nullptr; variable 92 void setChecksums(const ChecksumsPtr &CP) { Checksums = CP; } in setChecksums() 95 const ChecksumsPtr &checksums() const { return Checksums; } in checksums() function 98 bool hasChecksums() const { return Checksums != nullptr; } in hasChecksums() 102 ChecksumsPtr Checksums; variable
|
H A D | DebugChecksumsSubsection.h | 63 bool valid() const { return Checksums.valid(); } 68 Iterator begin() const { return Checksums.begin(); } 69 Iterator end() const { return Checksums.end(); } 71 const FileChecksumArray &getArray() const { return Checksums; } 74 FileChecksumArray Checksums; 98 std::vector<FileChecksumEntry> Checksums;
|
H A D | DebugSubsectionVisitor.h | 40 virtual Error visitFileChecksums(DebugChecksumsSubsectionRef &Checksums, 99 const DebugChecksumsSubsectionRef &Checksums) { in visitDebugSubsections() argument 100 StringsAndChecksumsRef State(Strings, Checksums); in visitDebugSubsections()
|
H A D | DebugLinesSubsection.h | 42 // checksums buffer. The checksum entry then 117 DebugLinesSubsection(DebugChecksumsSubsection &Checksums, 139 DebugChecksumsSubsection &Checksums;
|
H A D | DebugInlineeLinesSubsection.h | 94 DebugInlineeLinesSubsection(DebugChecksumsSubsection &Checksums, 114 DebugChecksumsSubsection &Checksums;
|
/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | StringsAndChecksums.cpp | 28 const DebugChecksumsSubsectionRef &Checksums) in StringsAndChecksumsRef() argument 29 : Strings(&Strings), Checksums(&Checksums) {} in StringsAndChecksumsRef() 53 Checksums = nullptr; in resetChecksums() 67 Checksums = OwnedChecksums.get(); in setChecksums() 73 if (Checksums) in initializeChecksums() 78 Checksums = OwnedChecksums.get(); in initializeChecksums()
|
H A D | DebugInlineeLinesSubsection.cpp | 63 DebugChecksumsSubsection &Checksums, bool HasExtraFiles) in DebugInlineeLinesSubsection() argument 64 : DebugSubsection(DebugSubsectionKind::InlineeLines), Checksums(Checksums), in DebugInlineeLinesSubsection() 109 uint32_t Offset = Checksums.mapChecksumOffset(FileName); in addExtraFile() 119 uint32_t Offset = Checksums.mapChecksumOffset(FileName); in addInlineSite()
|
H A D | DebugLinesSubsection.cpp | 71 DebugLinesSubsection::DebugLinesSubsection(DebugChecksumsSubsection &Checksums, in DebugLinesSubsection() argument 73 : DebugSubsection(DebugSubsectionKind::Lines), Checksums(Checksums) {} in DebugLinesSubsection() 76 uint32_t Offset = Checksums.mapChecksumOffset(FileName); in createBlock()
|
H A D | DebugChecksumsSubsection.cpp | 52 if (auto EC = Reader.readArray(Checksums, Reader.bytesRemaining())) in initialize() 79 Checksums.push_back(Entry); in addChecksum() 95 for (const auto &FC : Checksums) { in commit()
|
/llvm-project/llvm/lib/ObjectYAML/ |
H A D | CodeViewYAMLDebugSections.cpp | 115 std::vector<SourceFileChecksumEntry> Checksums; 127 const DebugChecksumsSubsectionRef &Checksums, 143 const DebugChecksumsSubsectionRef &Checksums, 319 IO.mapRequired("Checksums", Checksums); in map() 404 for (const auto &CS : Checksums) { in toCodeViewSubsection() 415 std::make_shared<DebugLinesSubsection>(*SC.checksums(), *SC.strings()); in toCodeViewSubsection() 446 *SC.checksums(), InlineeLines.HasExtraFiles); in toCodeViewSubsection() 554 const DebugChecksumsSubsectionRef &Checksums, uint32_t FileID) { 555 auto Iter = Checksums 117 std::vector<SourceFileChecksumEntry> Checksums; global() member 556 getFileName(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & Checksums,uint32_t FileID) getFileName() argument 582 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & Checksums,const DebugLinesSubsectionRef & Lines) fromCodeViewSubsection() argument 620 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & Checksums,const DebugInlineeLinesSubsectionRef & Lines) fromCodeViewSubsection() argument 809 visitFileChecksums(DebugChecksumsSubsectionRef & Checksums,const StringsAndChecksumsRef & State) visitFileChecksums() argument [all...] |
/llvm-project/llvm/utils/docker/ |
H A D | build_docker_image.sh | 41 --checksums name of a file, containing checksums of llvm checkout. 42 Script will fail if checksums of the checkout do not 113 --checksums) 176 mkdir "$BUILD_DIR/checksums" 178 cp "$CHECKSUMS_FILE" "$BUILD_DIR/checksums/checksums.txt"
|
/llvm-project/llvm/utils/docker/scripts/ |
H A D | checkout.sh | 113 CHECKSUMS_FILE="/tmp/checksums/checksums.txt" 116 echo "Validating checksums for LLVM checkout..."
|
/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeInlineSiteSymbol.cpp | 199 Expected<DebugChecksumsSubsectionRef> Checksums = in findInlineeLinesByVA() local 201 if (!Checksums) { in findInlineeLinesByVA() 202 consumeError(Checksums.takeError()); in findInlineeLinesByVA() 223 auto ChecksumIter = Checksums->getArray().at(FileChecksumOffset); in findInlineeLinesByVA()
|
H A D | InputFile.cpp | 196 // checksums. So we only set the strings if they're not already set. in initializeForPdb() 222 for (const auto &Entry : SC.checksums()) { in rebuildChecksumMap() 245 auto Iter = SC.checksums().getArray().at(Offset); in getNameFromChecksums() 246 if (Iter == SC.checksums().getArray().end()) { in getNameFromChecksums() 280 auto Iter = SC.checksums().getArray().at(Offset); in formatFromChecksumsOffset() 281 if (Iter == SC.checksums().getArray().end()) { in formatFromChecksumsOffset()
|
H A D | SymbolCache.cpp | 629 SymbolCache::getOrCreateSourceFile(const FileChecksumEntry &Checksums) const { in getOrCreateSourceFile() 630 auto Iter = FileNameOffsetToId.find(Checksums.FileNameOffset); in getOrCreateSourceFile() 635 auto SrcFile = std::make_unique<NativeSourceFile>(Session, Id, Checksums); in getOrCreateSourceFile() 637 FileNameOffsetToId[Checksums.FileNameOffset] = Id;
|
/llvm-project/llvm/utils/docker/nvidia-cuda/ |
H A D | Dockerfile | 17 ADD checksums /tmp/checksums
|
/llvm-project/llvm/utils/docker/example/ |
H A D | Dockerfile | 19 ADD checksums /tmp/checksums
|
/llvm-project/lld/COFF/ |
H A D | PDB.cpp | 202 DebugChecksumsSubsectionRef checksums; 787 assert(!checksums.valid() && in handleDebugS() 789 exitOnErr(checksums.initialize(ss.getRecordData())); in handleDebugS() 916 const DebugChecksumsSubsectionRef &checksums, uint32_t fileID) { in getFileName() 917 auto iter = checksums.getArray().at(fileID); in getFileName() 918 if (iter == checksums.getArray().end()) 933 // which means that if a StringTable subsection and Checksums subsection were in finish() 936 if (checksums.valid()) in finish() 937 fatal(".debug$S sections with a checksums subsection must also contain a " in finish() 996 for (const FileChecksumEntry &fc : checksums) { in finish() 201 DebugChecksumsSubsectionRef checksums; global() member in __anon18f19c410111::DebugSHandler 911 getFileName(const DebugStringTableSubsectionRef & strings,const DebugChecksumsSubsectionRef & checksums,uint32_t fileID) getFileName() argument 1751 findLineTable(const SectionChunk * c,uint32_t addr,DebugStringTableSubsectionRef & cvStrTab,DebugChecksumsSubsectionRef & checksums,DebugLinesSubsectionRef & lines,uint32_t & offsetInLinetable) findLineTable() argument 1836 DebugChecksumsSubsectionRef checksums; getFileLineCodeView() local [all...] |
/llvm-project/lldb/unittests/Utility/ |
H A D | ChecksumTest.cpp | 52 // Make sure two checksums with the same underlying hashes are the same. in TEST() 55 // Make sure two checksums with different underlying hashes are different. in TEST()
|
/llvm-project/llvm/utils/docker/debian10/ |
H A D | Dockerfile |
|
/llvm-project/clang/test/CodeGen/ |
H A D | debug-info-file-checksum.c | 23 // Ensure #line directives (in already pre-processed files) do not emit checksums 30 // Ensure #line directives without name do emit checksums
|
/llvm-project/lld/test/COFF/ |
H A D | pdb-source-lines.test | 89 CHECK-NEXT: Checksums: 120 CHECK-NEXT: Checksums:
|
/llvm-project/llvm/test/DebugInfo/PDB/Inputs/ |
H A D | debug-subsections.yaml | 31 Checksums:
|
/llvm-project/llvm/test/MC/ELF/ |
H A D | debug-md5-err.s | 25 # CHECK: [[@LINE+1]]:{{[0-9]+}}: warning: inconsistent use of MD5 checksums
|