• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1The ground truth of standards
2=============================
3
4Like any modern libc, LLVM libc also supports a wide number of standards and
5extensions. To avoid developing headers, wrappers and sources in a disjointed
6fashion, LLVM libc employs ground truth files. These files live under the
7``spec`` directory and list ground truth corresponding the ISO C standard, the
8POSIX extension standard, etc. For example, the path to the ground truth file
9for the ISO C standard is ``spec/stdc.td``. Tools like the header generator
10(described in the header generation document), docs generator, etc. use the
11ground truth files to generate headers, docs etc.
12