[llvm] 7e66e30 - [LangRef][DebugInfo] Update DIFile checksum description
J. Ryan Stinnett via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 21 05:01:52 PDT 2023
Author: J. Ryan Stinnett
Date: 2023-08-21T13:01:39+01:00
New Revision: 7e66e3072ddd03c89e8c12fb98f67ec953cbc6c2
URL: https://github.com/llvm/llvm-project/commit/7e66e3072ddd03c89e8c12fb98f67ec953cbc6c2
DIFF: https://github.com/llvm/llvm-project/commit/7e66e3072ddd03c89e8c12fb98f67ec953cbc6c2.diff
LOG: [LangRef][DebugInfo] Update DIFile checksum description
`DIFile`'s checksum fields became optional as part of
https://reviews.llvm.org/D43043. This updates the description in the docs to
match.
Fixes https://github.com/llvm/llvm-project/issues/39151
Differential Revision: https://reviews.llvm.org/D158281
Added:
Modified:
llvm/docs/LangRef.rst
Removed:
################################################################################
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 86675c162c11f1..74c261224fe029 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -5599,7 +5599,10 @@ DIFile
Files are sometimes used in ``scope:`` fields, and are the only valid target
for ``file:`` fields.
-Valid values for ``checksumkind:`` field are: {CSK_None, CSK_MD5, CSK_SHA1, CSK_SHA256}
+
+The ``checksum:`` and ``checksumkind:`` fields are optional. If one of these
+fields is present, then the other is required to be present as well. Valid
+values for ``checksumkind:`` field are: {CSK_MD5, CSK_SHA1, CSK_SHA256}
.. _DIBasicType:
More information about the llvm-commits
mailing list