r175109 - [docs] The stat cache has been removed from the PCH, update the docs to remove mentions of it.
Argyrios Kyrtzidis
akyrtzi at gmail.com
Wed Feb 13 16:12:44 PST 2013
Author: akirtzidis
Date: Wed Feb 13 18:12:44 2013
New Revision: 175109
URL: http://llvm.org/viewvc/llvm-project?rev=175109&view=rev
Log:
[docs] The stat cache has been removed from the PCH, update the docs to remove mentions of it.
Modified:
cfe/trunk/docs/PCHInternals.rst
cfe/trunk/docs/UsersManual.rst
Modified: cfe/trunk/docs/PCHInternals.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/PCHInternals.rst?rev=175109&r1=175108&r2=175109&view=diff
==============================================================================
--- cfe/trunk/docs/PCHInternals.rst (original)
+++ cfe/trunk/docs/PCHInternals.rst Wed Feb 13 18:12:44 2013
@@ -92,9 +92,7 @@ the actual precompiled header is require
.. code-block:: none
- *** PCH Statistics:
- 933 stat cache hits
- 4 stat cache misses
+ *** AST File Statistics:
895/39981 source location entries read (2.238563%)
19/15315 types read (0.124061%)
20/82685 declarations read (0.024188%)
@@ -214,10 +212,7 @@ The source manager block also contains i
that were included when building the AST file. This includes information about
the controlling macro for the header (e.g., when the preprocessor identified
that the contents of the header dependent on a macro like
-``LLVM_CLANG_SOURCEMANAGER_H``) along with a cached version of the results of
-the ``stat()`` system calls performed when building the AST file. The latter
-is particularly useful in reducing system time when searching for include
-files.
+``LLVM_CLANG_SOURCEMANAGER_H``).
.. _pchinternals-preprocessor:
@@ -425,10 +420,6 @@ file, inherits from all of these abstrac
deserialization of Clang's data structures. ``ASTReader`` implements the
following abstract classes:
-``StatSysCallCache``
- This abstract interface is associated with the ``FileManager`` class, and is
- used whenever the file manager is going to perform a ``stat()`` system call.
-
``ExternalSLocEntrySource``
This abstract interface is associated with the ``SourceManager`` class, and
is used whenever the :ref:`source manager <pchinternals-sourcemgr>` needs to
Modified: cfe/trunk/docs/UsersManual.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/UsersManual.rst?rev=175109&r1=175108&r2=175109&view=diff
==============================================================================
--- cfe/trunk/docs/UsersManual.rst (original)
+++ cfe/trunk/docs/UsersManual.rst Wed Feb 13 18:12:44 2013
@@ -820,12 +820,7 @@ example, :option:`-isysroot /Developer/S
Relocatable precompiled headers are intended to be used in a limited
number of cases where the compilation environment is tightly controlled
and the precompiled header cannot be generated after headers have been
-installed. Relocatable precompiled headers also have some performance
-impact, because the difference in location between the header locations
-at PCH build time vs. at the time of PCH use requires one of the PCH
-optimizations, ``stat()`` caching, to be disabled. However, this change
-is only likely to affect PCH files that reference a large number of
-headers.
+installed.
Controlling Code Generation
---------------------------
More information about the cfe-commits
mailing list