Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 8c42a67

Browse files
committed
[docs] The stat cache has been removed from the PCH, update the docs to remove mentions of it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175109 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 2c5d845 commit 8c42a67

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

Diff for: docs/PCHInternals.rst

+2-11
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@ the actual precompiled header is required:
9292

9393
.. code-block:: none
9494
95-
*** PCH Statistics:
96-
933 stat cache hits
97-
4 stat cache misses
95+
*** AST File Statistics:
9896
895/39981 source location entries read (2.238563%)
9997
19/15315 types read (0.124061%)
10098
20/82685 declarations read (0.024188%)
@@ -214,10 +212,7 @@ The source manager block also contains information about all of the headers
214212
that were included when building the AST file. This includes information about
215213
the controlling macro for the header (e.g., when the preprocessor identified
216214
that the contents of the header dependent on a macro like
217-
``LLVM_CLANG_SOURCEMANAGER_H``) along with a cached version of the results of
218-
the ``stat()`` system calls performed when building the AST file. The latter
219-
is particularly useful in reducing system time when searching for include
220-
files.
215+
``LLVM_CLANG_SOURCEMANAGER_H``).
221216

222217
.. _pchinternals-preprocessor:
223218

@@ -425,10 +420,6 @@ file, inherits from all of these abstract classes to provide lazy
425420
deserialization of Clang's data structures. ``ASTReader`` implements the
426421
following abstract classes:
427422

428-
``StatSysCallCache``
429-
This abstract interface is associated with the ``FileManager`` class, and is
430-
used whenever the file manager is going to perform a ``stat()`` system call.
431-
432423
``ExternalSLocEntrySource``
433424
This abstract interface is associated with the ``SourceManager`` class, and
434425
is used whenever the :ref:`source manager <pchinternals-sourcemgr>` needs to

Diff for: docs/UsersManual.rst

+1-6
Original file line numberDiff line numberDiff line change
@@ -820,12 +820,7 @@ example, :option:`-isysroot /Developer/SDKs/MacOSX10.4u.sdk` will look for
820820
Relocatable precompiled headers are intended to be used in a limited
821821
number of cases where the compilation environment is tightly controlled
822822
and the precompiled header cannot be generated after headers have been
823-
installed. Relocatable precompiled headers also have some performance
824-
impact, because the difference in location between the header locations
825-
at PCH build time vs. at the time of PCH use requires one of the PCH
826-
optimizations, ``stat()`` caching, to be disabled. However, this change
827-
is only likely to affect PCH files that reference a large number of
828-
headers.
823+
installed.
829824

830825
Controlling Code Generation
831826
---------------------------

0 commit comments

Comments
 (0)