close
Skip to content

Commit 19d10ae

Browse files
Support Archive IFC file (#181)
1 parent 9562e85 commit 19d10ae

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎ltx/tu.tex‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
\enumerator{Partition}
1717
\enumerator{Header}
1818
\enumerator{ExportedTU}
19+
\enumerator{Archive}
1920
\end{SortEnum}
2021

2122
with meaning as explained in the sections below. The \field{index} value has a tag-dependent interpretation as defined below.
@@ -67,3 +68,18 @@ \subsection{\valueTag{UnitSort::ExportedTU}}
6768

6869
\note{An IFC unit of this sort is deprecated and scheduled for removal from MSVC.}
6970

71+
\subsection{\valueTag{UnitSort::Archive}}
72+
\label{sec:ifc:UnitSort:Archive}
73+
74+
A \type{UnitIndex} value with this tag designates an IFC file that is a conglomerate of other non-archive IFC files.
75+
Each partition (\secref{sec:ifc-partition}) listed in the table of contents (\secref{sec:ifc-toc}) has the
76+
following additional interpretation:
77+
\begin{itemize}
78+
\item \field{name}: name of the IFC file described by that partition
79+
\item \field{offset}: distance, from the beginning of the archive IFC, to the content of the descrived IFC file
80+
\item \field{cardinality}: number of IFC files described by this partition; should always be $1$
81+
\item \field{entry\_size}: size (number of bytes) of the described IFC file
82+
\end{itemize}
83+
84+
An archive IFC file is useful as a ``packaging'' container for smaller IFC files, not unlike object file archives
85+
(\eg{} \code{.a} files).

0 commit comments

Comments
 (0)