[PATCH] D117067: [Bitcode] Mention that a multi-module bitcode is valid, each module has exactly one MODULE_BLOCK block
Mingming Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 18 17:50:46 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG76b74236c7f9: Update bitcode format doc to mention that a multi-module bitcode file is (authored by luna).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117067/new/
https://reviews.llvm.org/D117067
Files:
llvm/docs/BitCodeFormat.rst
Index: llvm/docs/BitCodeFormat.rst
===================================================================
--- llvm/docs/BitCodeFormat.rst
+++ llvm/docs/BitCodeFormat.rst
@@ -557,9 +557,10 @@
---------------------
The ``MODULE_BLOCK`` block (id 8) is the top-level block for LLVM bitcode files,
-and each bitcode file must contain exactly one. In addition to records
-(described below) containing information about the module, a ``MODULE_BLOCK``
-block may contain the following sub-blocks:
+and each module in a bitcode file must contain exactly one. A bitcode file with
+multi-module bitcode is valid. In addition to records (described below)
+containing information about the module, a ``MODULE_BLOCK`` block may contain
+the following sub-blocks:
* `BLOCKINFO`_
* `PARAMATTR_BLOCK`_
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117067.401065.patch
Type: text/x-patch
Size: 791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220119/d30d3f77/attachment.bin>
More information about the llvm-commits
mailing list